| Module | Mongo::DBRef::ClassMethods |
| In: |
lib/mongo/dbref.rb
|
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