get
If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key.
Return
the value of the key as a BsonValue
Parameters
key
the key
default Value
the default value
If the document does not contain the given key, return the given default value. Otherwise, gets the value of the key.
the value of the key as a BsonValue
the key
the default value