일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- 분산 병렬 처리
- r
- 그래프 질의언어
- Cypher
- 인공지능
- graph
- SparkML
- GraphX
- TensorFlow
- Python
- 그래프
- DeepLearning
- Neo4j
- BigData
- 빅데이터
- 그래프 에코시스템
- 그래프 데이터베이스
- 딥러닝
- Graph Ecosystem
- GDB
- spark
- 연합학습
- RStudio
- GSQL
- graph database
- Federated Learning
- RDD
- SQL
- Graph Tech
- TigerGraph
- Today
- Total
Hee'World
MongoDB CRUD Intorduction 본문
MongoDB CRUD Introduction¶
MongoDB stores data in the form of documents, which are JSON-like field and value pairs. Documents are analogous to structures in programming languages that associate keys with values, where keys may nest other pairs of keys and values (e.g. dictionaries, hashes, maps, and associative arrays). Formally, MongoDB documents are BSON documents, which is a binary representation of JSON with additional type information. For more information, see Documents.
MongoDB stores all documents in collections. A collection is a group of related documents that have a set of shared common indexes. Collections are analogous to a table in relational databases.
Database Operations¶
Query¶
In MongoDB a query targets a specific collection of documents. Queries specify criteria, or conditions, that identify the documents that MongoDB returns to the clients. A query may include a projection that specifies the fields from the matching documents to return. You can optionally modify queries to impose limits, skips, and sort orders.
In the following diagram, the query process specifies a query criteria and a sort modifier:
Data Modification¶
Data modification refers to operations that create, update, or delete data. In MongoDB, these operations modify the data of a single collection. For the update and delete operations, you can specify the criteria to select the documents to update or remove.
In the following diagram, the insert operation adds a new document to the users collection.
'BigData > MongoDB' 카테고리의 다른 글
MySQL Query를 MongoDB 쿼리로.... (0) | 2013.11.29 |
---|---|
MongoDB query & mySql query (0) | 2013.11.29 |
[1004jonghee]SQL to MongoDB Mapping (0) | 2013.08.29 |
[1004jonghee]Sharding & ReplicaSet 구성(4대의 머신) (0) | 2013.07.12 |
[1004jonghee]MongoDB 설치 (0) | 2013.07.08 |