Module Mongo::DBRef::ClassMethods
In: lib/mongo/dbref.rb

Methods

from_bson  

Public Instance methods

Deserialize the hash from BSON, converting to a DBRef if appropriate.

@param [ String ] buffer The bson representing a hash.

@return [ Hash, DBRef ] The decoded hash or DBRef.

@see bsonspec.org/#/specification

@since 2.0.0

[Validate]