Sha256: 943529746413f492e75e87d85be562e9abd3a91a2f17336285304898f65fa835
Contents?: true
Size: 927 Bytes
Versions: 4
Compression:
Stored size: 927 Bytes
Contents
# encoding: utf-8 module Veritas module SQL module Generator # Generates an SQL statement for a direction module Direction include Attribute DESC = ' DESC'.freeze # Visit an Ascending Direction # # @param [Relation::Operation::Order::Ascending] direction # # @return [#to_s] # # @api private def visit_veritas_relation_operation_order_ascending(direction) dispatch direction.attribute end # Visit an Descending Direction # # @param [Relation::Operation::Order::Descending] direction # # @return [#to_s] # # @api private def visit_veritas_relation_operation_order_descending(direction) dispatch(direction.attribute) << DESC end end # module Direction end # module Generator end # module SQL end # module Veritas
Version data entries
4 entries across 4 versions & 1 rubygems