| Class | Mongo::Protocol::Delete::Upconverter |
| In: |
lib/mongo/protocol/delete.rb
|
| Parent: | Object |
Converts legacy delete messages to the appropriare OP_COMMAND style message.
@since 2.1.0
| collection | [R] | @return [ String ] collection The name of the collection. |
| filter | [R] | @return [ BSON::Document, Hash ] filter The query filter or command. |
| options | [R] | @return [ Hash ] options The options. |
Instantiate the upconverter.
@example Instantiate the upconverter.
Upconverter.new('users', { name: 'test' })
@param [ String ] collection The name of the collection. @param [ BSON::Document, Hash ] filter The filter or command.
@since 2.1.0