Sha256: 0abd7f5056cf2ac861df5e1f8a0735f44c2487451691d779a08d01683cbe3656

Contents?: true

Size: 666 Bytes

Versions: 4

Compression:

Stored size: 666 Bytes

Contents

# encoding: utf-8

module Veritas
  module SQL
    module Generator
      module Function

        # Generates an SQL statement for a string function
        module String
          include Function

          LENGTH = 'LENGTH'.freeze

          # Visit a Length function
          #
          # @param [Function::String::Length] length
          #
          # @return [#to_s]
          #
          # @api private
          def visit_veritas_function_string_length(length)
            unary_prefix_operation_sql(LENGTH, length)
          end

        end # module String
      end # module Function
    end # module Generator
  end # module SQL
end # module Veritas

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
veritas-sql-generator-0.0.7 lib/veritas/sql/generator/function/string.rb
veritas-sql-generator-0.0.6 lib/veritas/sql/generator/function/string.rb
veritas-sql-generator-0.0.5 lib/veritas/sql/generator/function/string.rb
veritas-sql-generator-0.0.4 lib/veritas/sql/generator/function/string.rb