September 2018
Beginner to intermediate
192 pages
4h 37m
English
BSON stands for Binary JSON (http://bsonspec.org/). The MongoDB\BSON namespace consists of the following:
In addition, three classes called DBPointer, Symbol, and Undefined are included but deprecated, and thus they are not discussed here.
In this example, we are using the MongoDB\BSON\Binary to store a binary image of a flag, extracted from a *.jpg file:
use MongoDB\BSON\Binary;use MongoDB\Driver\ {Manager, BulkWrite, ...Read now
Unlock full access