BSON

Undocumented in source.

Constructors

this
this()
Undocumented in source.
this
this(bson_t* data)
Undocumented in source.
this
this(Args args)

empty is used for creating Bsons without fields. Structs cannot have a constructor without parameters, so it's a workaround.

Members

Functions

append
void append(string name, T val, bool ignoreSubDocDefaults)

name must be ASCII

as
T as()
Undocumented in source. Be warned that the author may not have intended to support it.
byKeyValue
auto byKeyValue()
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
auto initialize()

Used to new this.data.

key
auto key(string key)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string toString()
Undocumented in source. Be warned that the author may not have intended to support it.
unlock
auto unlock()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

data
bson_t* data;
Undocumented in source.

Meta