Module: Mongo::Operation::OpMsgOrCommand Private
- Includes:
- PolymorphicLookup, PolymorphicOperation
- Included in:
- Aggregate, Command, Count, Create, CreateIndex, CreateUser, Distinct, Drop, DropDatabase, DropIndex, ListCollections, MapReduce, ParallelScan, RemoveUser, UpdateUser, UsersInfo, WriteCommand
- Defined in:
- build/ruby-driver-v2.17/lib/mongo/operation/shared/op_msg_or_command.rb
Overview
This module is part of a private API. You should avoid using this module if possible, as it may be removed or be changed in the future.
Shared behavior of executing the operation as an OpMsg when supported or as a Command otherwise.