Sha256: 7401579df33807673a9e1cfc8bfadb23faff4bc1ae616f68f6f7b8bffa96741d

Contents?: true

Size: 365 Bytes

Versions: 25

Compression:

Stored size: 365 Bytes

Contents

# frozen_string_literal: true

module Mongoid

  # Contains behavior specific to evolving for queryable queries.
  module Evolvable

    # Evolve the document into an object id.
    #
    # @example Evolve the document.
    #   document.__evolve_object_id__
    #
    # @return [ Object ] The document's id.
    def __evolve_object_id__
      _id
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
mongoid-8.1.8 lib/mongoid/evolvable.rb
mongoid-8.1.7 lib/mongoid/evolvable.rb
mongoid-8.1.6 lib/mongoid/evolvable.rb
mongoid-8.0.8 lib/mongoid/evolvable.rb
mongoid-8.1.5 lib/mongoid/evolvable.rb
mongoid-8.1.4 lib/mongoid/evolvable.rb
mongoid-8.0.7 lib/mongoid/evolvable.rb
mongoid-8.1.3 lib/mongoid/evolvable.rb
mongoid-8.1.2 lib/mongoid/evolvable.rb
mongoid-8.0.6 lib/mongoid/evolvable.rb
mongoid-7.5.4 lib/mongoid/evolvable.rb
mongoid-8.1.1 lib/mongoid/evolvable.rb
mongoid-8.0.5 lib/mongoid/evolvable.rb
mongoid-8.1.0 lib/mongoid/evolvable.rb
mongoid-7.5.3 lib/mongoid/evolvable.rb
mongoid-8.0.4 lib/mongoid/evolvable.rb
mongoid-8.0.3 lib/mongoid/evolvable.rb
mongoid-7.5.2 lib/mongoid/evolvable.rb
mongoid-8.0.2 lib/mongoid/evolvable.rb
mongoid-7.5.1 lib/mongoid/evolvable.rb