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.



45
46
47
# File 'lib/rom/elasticsearch/commands.rb', line 45

def execute
  relation.dataset.delete
end