A BSONArray structure (BSON type 0x04).
A BSONArray structure (BSON type 0x04).
A BSONArray is a straightforward BSONDocument where keys are a sequence of positive integers.
A BSONArray is basically a stream of tuples (String, BSONValue) where the first member is a string representation of an index.
It is completely lazy. The stream it wraps is a Stream[Try[(String, BSONValue)]] since
we cannot be sure that a not yet deserialized value will be processed without error.
A BSON binary value.
A BSON binary value.
The binary content.
The type of the binary content.
BSON boolean value
A BSON value that can be seen as a boolean.
A BSON value that can be seen as a boolean.
Conversions:
number = 0 ~> falsenumber != 0 ~> truebooleanundefined ~> falsenull ~> false
BSON DBPointer value.
BSON date time value
A BSONDocument structure (BSON type 0x03).
A BSONDocument structure (BSON type 0x03).
A BSONDocument is basically a stream of tuples (String, BSONValue).
It is completely lazy. The stream it wraps is a Stream[Try[(String, BSONValue)]] since
we cannot be sure that a not yet deserialized value will be processed without error.
A BSON Double.
Operations for a BSONElement that can contain multiple nested elements.
BSON Integer value
BSON JavaScript value.
BSON JavaScript value.
The JavaScript source code.
BSON scoped JavaScript value.
BSON scoped JavaScript value.
The JavaScript source code. TODO
BSON Long value
A BSON value that can be seen as a number.
BSON ObjectId value.
BSON ObjectId value.
A reader that produces an instance of T from a subtype of BSONValue.
BSON Regex value.
BSON Regex value.
Regex flags.
BSON Symbol value.
BSON Timestamp value
A writer that produces a subtype of BSONValue fron an instance of T.
Binary Subtype
A reader that produces an instance of T from a subtype of BSONValue.
A writer that produces a subtype of BSONValue fron an instance of T.
BSON Max key value
BSON Min key value
BSON null value
Timestamp companion
BSON Undefined value
Returns an array with given values.
Returns an empty array.
Returns a document with given elements.
Returns an empty document.
Returns a newly generated object ID.