Class | Moped::Operation::Write |
In: |
lib/moped/operation/write.rb
|
Parent: | Object |
concern | [R] |
@!attribute concern
@return [ Object ] The configured write concern. @!attribute database @return [ String ] The database the read is from. @!attribute operation @return [ Protocol::Insert, Protocol::Update, Protocol::Delete ] The write operation. |
database | [R] |
@!attribute concern
@return [ Object ] The configured write concern. @!attribute database @return [ String ] The database the read is from. @!attribute operation @return [ Protocol::Insert, Protocol::Update, Protocol::Delete ] The write operation. |
operation | [R] |
@!attribute concern
@return [ Object ] The configured write concern. @!attribute database @return [ String ] The database the read is from. @!attribute operation @return [ Protocol::Insert, Protocol::Update, Protocol::Delete ] The write operation. |
Instantiate the write operation.
@example Instantiate the write.
Write.new(insert)
@param [ Protocol::Insert, Protocol::Update, Protocol::Delete ] operation
The write operation.
@since 2.0.0