lib/active_record/connection_adapters/fdbsql/database_statements.rb
def exec_delete(sql, name = 'SQL', binds = [])
          log(sql, name, binds) do
            result = without_prepared_statement?(binds) ? exec_no_cache(sql) :
                                                          exec_cache(sql, binds)
            affected = result.cmd_tuples
            result.clear
            affected
          end
        end
# Executes delete +sql+ statement in the context of this connection using
# +binds+ as the bind substitutes. +name+ is the logged along with
# the executed +sql+ statement.
Executes delete +sql+ statement in the context of this connection using
+binds+ as the bind substitutes. +name+ is the logged along with
the executed +sql+ statement.
Executes delete + sql + statement in the context of this connection using + binds + as the bind substitutes . + name + is the logged along with the executed + sql + statement .
def exec_delete(sql, name = 'SQL', binds = [])
          log(sql, name, binds) do
            result = without_prepared_statement?(binds) ? exec_no_cache(sql) :
                                                          exec_cache(sql, binds)
            affected = result.cmd_tuples
            result.clear
            affected
          end
        end
def exec_delete ( sql , name = 'SQL' , binds = [ ] ) log ( sql , name , binds ) do result = without_prepared_statement? ( binds ) ? exec_no_cache ( sql ) : exec_cache ( sql , binds ) affected = result . cmd_tuples result . clear affected end end
Executes delete +sql+ statement in the context of this connection using
+binds+ as the bind substitutes.
Executes delete + sql + statement in the context of this connection using + binds + as the bind substitutes .
sql
name
binds