lib/mongo/operation/shared/specifiable.rb in mongo-2.8.0 vs lib/mongo/operation/shared/specifiable.rb in mongo-2.9.0.rc0
- old
+ new
@@ -99,15 +99,10 @@
# The field for a selector.
#
# @since 2.0.0
SELECTOR = :selector.freeze
- # The startTransaction option
- #
- # @since 2.6.0
- START_TRANSACTION = :start_transaction.freeze
-
# The field for number to return.
#
# @since 2.0.0
TO_RETURN = :to_return.freeze
@@ -554,20 +549,9 @@
# @return [ Hash ] The array filters.
#
# @since 2.5.2
def array_filters
selector[Operation::ARRAY_FILTERS] if selector
- end
-
- # The startTransaction option.
- #
- # @example Get the startTransaction option.
- # specifiable.start_transaction
- #
- # @return [ Boolean ] The startTransaction option.
- #
- def start_transaction
- @spec[START_TRANSACTION]
end
# Does the operation have an acknowledged write concern.
#
# @example Determine whether the operation has an acknowledged write.