Methods that create OrderedExpressions, used for sorting by columns or more complex expressions.
Mark the receiving SQL column as sorting in an ascending fashion (generally a no-op). Options:
:nulls | Set to :first to use NULLS FIRST (so NULL values are ordered before other values), or :last to use NULLS LAST (so NULL values are ordered after other values). |
# File lib/sequel/sql.rb, line 759 759: def asc(opts={}) 760: OrderedExpression.new(self, false, opts) 761: end
Mark the receiving SQL column as sorting in a descending fashion. Options:
:nulls | Set to :first to use NULLS FIRST (so NULL values are ordered before other values), or :last to use NULLS LAST (so NULL values are ordered after other values). |
# File lib/sequel/sql.rb, line 769 769: def desc(opts={}) 770: OrderedExpression.new(self, true, opts) 771: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.