Class: Mongo::Operation::Create Private
- Inherits:
-
Object
- Object
- Mongo::Operation::Create
- 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.
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.
30 31 32 |
# File 'lib/mongo/operation/create.rb', line 30 def encrypted_fields=(value) @spec[:encrypted_fields] = value end |