MongoDB supports many types
27/105
Exercise: querying
MongoDB types and PHP
•
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
)