Represents a column/expression to order the result set by.
Set the expression and descending attributes to the given values. Options:
:nulls | Can be :first/:last for NULLS FIRST/LAST. |
# File lib/sequel/sql.rb, line 1234 1234: def initialize(expression, descending = true, opts={}) 1235: @expression, @descending, @nulls = expression, descending, opts[:nulls] 1236: end
Return a copy that is ordered ASC
# File lib/sequel/sql.rb, line 1239 1239: def asc 1240: OrderedExpression.new(@expression, false, :nulls=>@nulls) 1241: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.