Class: Mongo::Operation::Create Private

Inherits:
Object
  • Object
show all
Includes:
OpMsgExecutable, Specifiable
Defined in:
lib/mongo/operation/create.rb,
lib/mongo/operation/create/op_msg.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

A MongoDB create collection command operation.

Since:

  • 2.0.0

Defined Under Namespace

Classes: OpMsg

Instance Method Summary collapse

Methods included from OpMsgExecutable

#execute, #execute_with_connection

Instance Method Details

#encrypted_fields=(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Since:

  • 2.0.0



30
31
32
# File 'lib/mongo/operation/create.rb', line 30

def encrypted_fields=(value)
  @spec[:encrypted_fields] = value
end