Skip to Content
ConceptsDocuments

Documents

A document is a JSON value — objects, arrays, strings, numbers, booleans, nulls, dates — stored internally as BSON for compact, typed encoding. Each document gets a stable id used by the direct-address location map for sub-millisecond point lookups.

{ "pnr": "ABC123", "passenger": { "firstName": "John", "lastName": "Smith" }, "flights": [{ "flightNumber": "AA100", "from": "JFK", "to": "LAX" }], "createdAt": "2026-05-21T09:00:00Z" }

Nested paths (passenger.lastName) and array elements (flights[0].from) are addressable in queries and indexable. Documents larger than a page are transparently chained across overflow pages, so there’s no hard size cliff.

Last updated on