Module: Mongoid::Extensions::Vector::ClassMethods
| Relationships & Source Files | |
| Extension / Inclusion / Inheritance Descendants | |
|
Extended In:
| |
| Defined in: | lib/mongoid/extensions/vector.rb |
Instance Method Summary
-
#demongoize(object) ⇒ BSON::Vector | nil
Convert the object from its mongo friendly ruby type back to a
::BSON::Vector. -
#mongoize(object) ⇒ BSON::Binary | nil
Mongoize an object of any type to how it's stored in the db.
Instance Method Details
#demongoize(object) ⇒ BSON::Vector | nil
Convert the object from its mongo friendly ruby type back to a
::BSON::Vector.
#mongoize(object) ⇒ BSON::Binary | nil
Mongoize an object of any type to how it's stored in the db.