Class | Mongoid::Fields::Serializable::ForeignKeys::Object |
In: |
lib/mongoid/fields/serializable/foreign_keys/object.rb
|
Parent: | Object |
Defines the behaviour for integer foreign key fields.
Is the field a BSON::ObjectId?
@example Is the field a BSON::ObjectId?
field.object_id_field?
@return [ true, false ] If the field is a BSON::ObjectId.
@since 2.2.0