Module: Arel::Nodes::DeleteStatement::DeleteStatementExtension
- Included in:
- Arel::Nodes::DeleteStatement
- Defined in:
- lib/arel/extensions/delete_statement.rb
Instance Attribute Summary collapse
-
#orders ⇒ Object
Returns the value of attribute orders.
-
#returning ⇒ Object
Returns the value of attribute returning.
-
#using ⇒ Object
Returns the value of attribute using.
-
#with ⇒ Object
Returns the value of attribute with.
Instance Method Summary collapse
Instance Attribute Details
#orders ⇒ Object
Returns the value of attribute orders.
12 13 14 |
# File 'lib/arel/extensions/delete_statement.rb', line 12 def orders @orders end |
#returning ⇒ Object
Returns the value of attribute returning.
11 12 13 |
# File 'lib/arel/extensions/delete_statement.rb', line 11 def returning @returning end |
#using ⇒ Object
Returns the value of attribute using.
9 10 11 |
# File 'lib/arel/extensions/delete_statement.rb', line 9 def using @using end |
#with ⇒ Object
Returns the value of attribute with.
10 11 12 |
# File 'lib/arel/extensions/delete_statement.rb', line 10 def with @with end |
Instance Method Details
#initialize(relation = nil, wheres = []) ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/arel/extensions/delete_statement.rb', line 14 def initialize(relation = nil, wheres = []) super @returning = [] @orders = [] @using = [] end |