module Rethinker::Selection::Delete

Public Instance Methods

delete() click to toggle source
# File lib/rethinker/selection/delete.rb, line 2
def delete
  chain(Rethinker::Criterion.new(:delete)).run
end
destroy() click to toggle source
# File lib/rethinker/selection/delete.rb, line 6
def destroy
  each { |doc| doc.destroy }
end