class Mongo::Operation::Write::Command::DropIndex
A MongoDB drop index write command operation.
@example Create the drop index operation.
Write::Command::DropIndex.new({ :index => { :foo => 1 }, :db_name => 'test', :coll_name => 'test_coll', :index_name => 'foo_1' })
@since 2.0.0
Private Instance Methods
selector()
click to toggle source
The query selector for this drop index command operation.
@return [ Hash ] The selector describing this insert operation.
@since 2.0.0
# File lib/mongo/operation/write/command/drop_index.rb, line 42 def selector { :dropIndexes => coll_name, :index => index_name } end