Method: Cequel::Record::Callbacks#destroy
- Defined in:
- lib/cequel/record/callbacks.rb
#destroy(options = {}) ⇒ Record
Remove this record from the database
40 41 42 43 44 |
# File 'lib/cequel/record/callbacks.rb', line 40 def destroy( = {}) connection.batch(.slice(:consistency)) do run_callbacks(:destroy) { super } end end |