9.03.2020

MongoDB 개념정리(정리중)

 

Documents

  • MongoDB는 데이터를 BSON(binary representation of JSON)의 형태로 저장한다.

  • document의 예시

    {
    	name: "swimmingkiim",
    	age: 101,
    	favoriteThings: ["coding", "water", "music"]
    }
    
  • Document에 사용될 수 있는 데이터 타입

    → Double, String, Object, Array, Binary data, Undefined, ObjectId, Boolean, Date, Null, Regular Expression, DBPointer, JavaScript, Symbol, JavaScript(with scope), 32-bit integer, Timestamp, 64-bit integer, Decimal128, Min key, Max key

MongoDB shell command

https://gist.github.com/michaeltreat/d3bdc989b54cff969df86484e091fd0c

참고링크

Quick Cheat Sheet for Mongo DB Shell commands.

Query and Projection Operators - MongoDB Manual

Documents - MongoDB Manual

Share:

0 comments:

댓글 쓰기