MongoDB supports many types
9/32
Inserting a document
IDs
•
boolean
•
integer (32 and 64-bit)
•
double
•
string (UTF-8)
•
array
•
document (associative array in PHP)
•
ObjectIDs (
\MongoDB\BSON\ObjectID
)
•
UTC date (
\MongoDB\BSON\UTCDateTime
)
•
Binary data (
\MongoDB\BSON\Binary
)