20#include "mongo/util/assert_util.h"
24class BSONArrayBuilder;
28class BSONObjBuilderValueStream;
32struct BSONElementCmpWithoutField;
97 ByteArrayDeprecated = 2,
the main MongoDB namespace
Definition bulk_operation_builder.h:24
int canonicalizeBSONType(BSONType type)
Returns a number for where a given type falls in the sort order.
Definition bsontypes.h:109
const char * typeName(BSONType type)
returns the name of the argument's type
BSONType
the complete list of valid BSON types see also bsonspec.org
Definition bsontypes.h:38
@ CodeWScope
javascript code that can execute on the database server, with SavedContext
Definition bsontypes.h:72
@ Symbol
a programming language (e.g., Python) symbol
Definition bsontypes.h:70
@ String
character string, stored in utf8
Definition bsontypes.h:46
@ BinData
binary data
Definition bsontypes.h:52
@ Array
an embedded array
Definition bsontypes.h:50
@ Bool
boolean type
Definition bsontypes.h:58
@ MaxKey
larger than all other types
Definition bsontypes.h:82
@ Timestamp
Updated to a Date with value next OpTime on insert.
Definition bsontypes.h:76
@ Code
deprecated / use CodeWScope
Definition bsontypes.h:68
@ RegEx
regular expression, a pattern with options
Definition bsontypes.h:64
@ jstOID
ObjectId.
Definition bsontypes.h:56
@ Undefined
Undefined type.
Definition bsontypes.h:54
@ JSTypeMax
max type that is not MaxKey
Definition bsontypes.h:80
@ EOO
end of object
Definition bsontypes.h:42
@ Object
an embedded object
Definition bsontypes.h:48
@ NumberLong
64 bit integer
Definition bsontypes.h:78
@ jstNULL
null type
Definition bsontypes.h:62
@ NumberInt
32 bit signed integer
Definition bsontypes.h:74
@ DBRef
deprecated / will be redesigned
Definition bsontypes.h:66
@ NumberDouble
double precision floating point value
Definition bsontypes.h:44
@ MinKey
smaller than all other types
Definition bsontypes.h:40
@ Date
date type
Definition bsontypes.h:60