BSON Types and the _id Field

MongoDB stores documents as BSON, which adds types JSON doesn't have; whole numbers become int and decimals double, money goes in NumberDecimal and dates in ISODate, and every document has an _id, an ObjectId unless you choose your own.

By

Updated

Cheat sheet: BSON Types and the _id Field
Category
MongoDB
Level
Apprentice
Tags
_id and ObjectId, BSON, Decimal128, ISODate, mongodb