123456789_123456789_123456789_123456789_123456789_

Module: Mongoid::Evolvable

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/mongoid/evolvable.rb

Overview

Contains behavior specific to evolving for queryable queries.

Instance Method Summary

Instance Method Details

#__evolve_object_id__Object

Evolve the document into an object id.

Examples:

Evolve the document.

document.__evolve_object_id__

Returns:

  • (Object)

    The document’s id.

[ GitHub ]

  
# File 'lib/mongoid/evolvable.rb', line 15

def __evolve_object_id__
  _id
end