Module: QualifiedIdentifierNode

Defined in:
lib/sql_munger/nodes.rb

Instance Method Summary collapse

Instance Method Details

#partsObject

return an array of parts, each stripped of delimiters



192
193
194
195
196
197
198
199
200
# File 'lib/sql_munger/nodes.rb', line 192

def parts
  elements.map do |node|
    if node.identifier.respond_to?( :identifier )
      node.identifier.identifier.text_value
    else
      node.identifier.text_value
    end
  end
end