Module: Sequel::SQL::OrderMethods

Module | Sequel::SQL::OrderMethods
In: | lib/sequel_core/sql.rb

Methods that create OrderedExpressions, used for sorting by columns or more complex expressions.

### Methods

asc desc

### Public Instance methods

asc()

Mark the receiving SQL column as sorting in an ascending fashion (generally a no-op).

[Source]

         # File lib/sequel_core/sql.rb, line 275
    275:       def asc
    276:         OrderedExpression.new(self, false)
    277:       end

desc()

Mark the receiving SQL column as sorting in a descending fashion.

[Source]

         # File lib/sequel_core/sql.rb, line 270
    270:       def desc
    271:         OrderedExpression.new(self)
    272:       end

[Validate]