Class: ROM::Elasticsearch::Commands::Delete

Inherits:
Commands::Delete
  • Object
show all
Defined in:
lib/rom/elasticsearch/commands.rb

Overview

Delete command

Instance Method Summary collapse

Instance Method Details

#executeObject

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.



43
44
45
# File 'lib/rom/elasticsearch/commands.rb', line 43

def execute
  relation.dataset.delete
end