Module: Babik::QuerySet::Deletable
- Included in:
- AbstractBase
- Defined in:
- lib/babik/queryset/mixins/deletable.rb
Overview
Functionality related to the DELETE operation
Instance Method Summary collapse
-
#delete ⇒ Object
Delete the selected records.
Instance Method Details
#delete ⇒ Object
Delete the selected records
8 9 10 |
# File 'lib/babik/queryset/mixins/deletable.rb', line 8 def delete result = @model.connection.execute(sql.delete) end |