def persist_atomic_operations(operations)
      if persisted? && operations && !operations.empty?
        selector = atomic_selector
        _root.collection.find(selector).update_one(positionally(selector, operations), session: _session)
      end
    end
def persist_atomic_operations(operations)
      if persisted? && operations && !operations.empty?
        selector = atomic_selector
        _root.collection.find(selector).update_one(positionally(selector, operations), session: _session)
      end
    end
Persist the atomic operations.

 @api private

 @example Persist the atomic operations.
   persist_atomic_operations(ops)

 @param [ Hash ] operations The atomic operations.

 @since 4.0.0