Sha256: e2bbb53348dfe2070e0d5bd9e663243a9d8f2a445739a74251809a53e773fe91
Contents?: true
Size: 543 Bytes
Versions: 10
Compression:
Stored size: 543 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, original_context) PersistenceContext.clear(klass, original_cluster, original_context) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems