Class: Delete
- Inherits:
-
SqlStatement
- Object
- SqlStatement
- Delete
- Defined in:
- lib/delete.rb
Instance Attribute Summary
Attributes inherited from SqlStatement
Class Method Summary collapse
-
.from ⇒ Object
call-seq: Delete.from -> a_delete.
Instance Method Summary collapse
-
#[](table) ⇒ Object
call-seq: delete -> a_delete.
Methods inherited from SqlStatement
#and, #and_with_or_conditions, #initialize, #or, #where
Constructor Details
This class inherits a constructor from SqlStatement
Class Method Details
.from ⇒ Object
call-seq: Delete.from -> a_delete
Returns a Delete instance with the SQL initialized to ‘delete from ’
Delete.from.to_sql #=> "delete from "
8 9 10 |
# File 'lib/delete.rb', line 8 def from self.new('delete from ') end |