Module: Veritas::SQL::Generator::Attribute

Includes:
Identifier
Included in:
Direction, Function, Relation
Defined in:
lib/veritas/sql/generator/attribute.rb

Overview

Generates an SQL statement for an attribute

Constant Summary

Constants included from Identifier

Identifier::ESCAPED_QUOTE, Identifier::QUOTE

Instance Method Summary collapse

Methods included from Identifier

#visit_identifier

Instance Method Details

#visit_veritas_attribute(attribute) ⇒ #to_s

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Visit an Attribute

Parameters:

Returns:

  • (#to_s)


18
19
20
# File 'lib/veritas/sql/generator/attribute.rb', line 18

def visit_veritas_attribute(attribute)
  visit_identifier(attribute.name)
end