Class Mongo::Operation::Insert::Command
In: lib/mongo/operation/insert/command.rb
Parent: Object

A MongoDB insert operation sent as a command message.

@api private

@since 2.5.2

Methods

execute  

Included Modules

Specifiable Executable Idable Limited WriteConcernSupported BypassDocumentValidation

Public Instance methods

Execute the operation.

@example

  operation.execute(server)

@param [ Mongo::Server ] server The server to send the operation to.

@return [ Mongo::Operation::Insert::Result ] The operation result.

@since 2.5.2

[Validate]