Module: Mongoid::Extensions::Binary::ClassMethods
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Extended In:
| |
Defined in: | lib/mongoid/extensions/binary.rb |
Instance Method Summary
-
#demongoize(object)
Alias for #mongoize.
-
#mongoize(object) ⇒ BSON::Binary | nil
(also: #demongoize)
Mongoize an object of any type to how it’s stored in the db.
Instance Method Details
#demongoize(object)
Alias for #mongoize.
# File 'lib/mongoid/extensions/binary.rb', line 38
alias :demongoize :mongoize
#mongoize(object) ⇒ BSON::Binary | nil
Also known as: #demongoize
Mongoize an object of any type to how it’s stored in the db.