Module: Mongo::Operation::OpMsgOrCommand Private

PolymorphicLookup, PolymorphicOperation
Included in:
Aggregate, Command, Count, Create, CreateIndex, CreateUser, Distinct, Drop, DropDatabase, DropIndex, ListCollections, MapReduce, ParallelScan, RemoveUser, UpdateUser, UsersInfo, WriteCommand
Defined in:


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.

Method Summary

Methods included from PolymorphicOperation

#execute, #execute_with_connection