module Cassie::Statements::Results::Modification

Public Instance Methods

success?() click to toggle source
Calls superclass method
# File lib/cassie/statements/execution/results/modification.rb, line 4
def success?
  # when using conditional update, the server will respond
  # with a result-set containing a special result named "[applied]".
  return false if rows.first && rows.first["[applied]"] == false

  super
end