Use a prepared statement to delete the row.
# File lib/sequel/plugins/prepared_statements.rb, line 138 138: def _delete_without_checking 139: model.send(:prepared_delete).call(pk_hash) 140: end
Use a prepared statement to insert the values into the model’s dataset.
# File lib/sequel/plugins/prepared_statements.rb, line 143 143: def _insert_raw(ds) 144: model.send(:prepared_insert, @values.keys).call(@values) 145: end
Use a prepared statement to insert the values into the model’s dataset and return the new column values.
# File lib/sequel/plugins/prepared_statements.rb, line 149 149: def _insert_select_raw(ds) 150: if ps = model.send(:prepared_insert_select, @values.keys) 151: ps.call(@values) 152: end 153: end
Use a prepared statement to refresh this model’s column values.
# File lib/sequel/plugins/prepared_statements.rb, line 156 156: def _refresh_get(ds) 157: model.send(:prepared_refresh).call(pk_hash) 158: end
Use a prepared statement to update this model’s columns in the database.
# File lib/sequel/plugins/prepared_statements.rb, line 161 161: def _update_without_checking(columns) 162: model.send(:prepared_update, columns.keys).call(columns.merge(pk_hash)) 163: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.