MongoDB 사용 매뉴얼 문서(word)
[목차]
[win] mongoDB 설치
[ubuntu] mongoDB 설치
[MongoDB] 강좌 2편: Database/Collection/Document 생성 및 제거
Database 생성: use
Database 제거: db.dropDatabase()
Collection 생성: db.createCollection()
Collection 제거: db.COLLECTION_NAME.drop()
Document 추가:db.COLLECTION_NAME.insert(document)
Document 제거: db.COLLECTION_NAME.remove(criteria, justOne)
[MongoDB] 강좌 3편 Document Query(조회) – find() 메소드
Document 조회: db.COLLECTION_NAME.find(query, projection)
여기서 잠깐! Query 연산자에 대해 알아봅시다.
비교(Comparison) 연산자
논리 연산자
$regex 연산자
$where 연산자
$elemMatch 연산자
$elemMatch 연산자
[MongoDB] 강좌 4편 find() 메소드 활용 – sort(), limit(), skip()
cursor.sort( DOCUMENT )
cursor.limit( value )
cursor.skip( value )
응용
[MongoDB] 강좌 5편 Document 수정 – update() 메소드
정의
샘플 데이터 추가 및 연습
[MongoDB] 강좌 6편 Index 설정
Index란?
Index의 종류
인덱스 생성
인덱스 속성
인덱스 조회
인덱스 제거