Sha256: 6f0e529099788e4d0a19dc8b20bf74f5d174979bb8f4332e49d68618f50c721b
Contents?: true
Size: 507 Bytes
Versions: 28
Compression:
Stored size: 507 Bytes
Contents
# encoding: utf-8 module Mongoid class Criteria # Module containing functionality for getting options on a Criteria object. # # @since 6.0.0 module Options private def persistence_context klass.persistence_context end def set_persistence_context(options) PersistenceContext.set(klass, options) end def clear_persistence_context(original_cluster) PersistenceContext.clear(klass, original_cluster) end end end end
Version data entries
28 entries across 26 versions & 2 rubygems