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

#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



13
14
15
16
17
# File 'lib/arel/extensions/delete_statement.rb', line 13

def initialize(relation = nil, wheres = [])
  super

  @returning = []
end