module Mongoid::Evolvable

Contains behavior specific to evolving for queryable queries.

Public Instance Methods

__evolve_object_id__() click to toggle source

Evolve the document into an object id.

@example Evolve the document.

document.__evolve_object_id__

@return [ Object ] The document’s id.

@since 3.0.0

# File lib/mongoid/evolvable.rb, line 17
def __evolve_object_id__
  _id
end