class ROM::CouchDB::Commands::Delete
CouchDB
delete command
Public Instance Methods
collection()
click to toggle source
# File lib/rom/couchdb/commands.rb, line 34 def collection relation.dataset end
execute(object)
click to toggle source
# File lib/rom/couchdb/commands.rb, line 38 def execute(object) collection.delete(object) [object] end