Module: Arel::Nodes::DeleteStatement::DeleteStatementExtension

Included in:
Arel::Nodes::DeleteStatement
Defined in:
lib/arel/extensions/delete_statement.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#ordersObject

Returns the value of attribute orders.



12
13
14
# File 'lib/arel/extensions/delete_statement.rb', line 12

def orders
  @orders
end

#returningObject

Returns the value of attribute returning.



11
12
13
# File 'lib/arel/extensions/delete_statement.rb', line 11

def returning
  @returning
end

#usingObject

Returns the value of attribute using.



9
10
11
# File 'lib/arel/extensions/delete_statement.rb', line 9

def using
  @using
end

#withObject

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