module Veritas
  module SQL
    module Compiler
      class Generator < Visitor

        # Generates an SQL statement for an attribute
        module Attribute
          include Identifier

          DOT = '.'.freeze

          # Visit an Attribute
          #
          # @param [Attribute] attribute
          #
          # @return [#to_s]
          #
          # @api private
          def visit_veritas_attribute(attribute)
            visit_identifier(@base_relation) << DOT << visit_identifier(attribute.name)
          end

        end # module Attribute
      end # class Generator
    end # module Compiler
  end # module SQL
end # module Veritas

module Veritas
  module SQL
    module Compiler
      class Generator < Visitor

        # Generates an SQL statement for an attribute
        module Attribute
          include Identifier

          # Visit an Attribute
          #
          # @param [Attribute] attribute
          #
          # @return [#to_s]
          #
          # @api private
          def visit_veritas_attribute(attribute)
            "#{visit_identifier(@base_relation)}.#{visit_identifier(attribute.name)}"
          end

        end # module Attribute
      end # class Generator
    end # module Compiler
  end # module SQL
end # module Veritas

Update column SQL generation to match other code
Update column SQL generation to match other code
