Class: Arel::Descending
- Inherits:
-
Ordering
show all
- Defined in:
- lib/arel/algebra/ordering.rb,
lib/arel/engines/sql/primitives.rb,
lib/arel/engines/memory/primitives.rb
Instance Method Summary
collapse
Methods inherited from Ordering
#bind, #eval, #to_ordering, #to_sql
Instance Method Details
#direction ⇒ Object
21
|
# File 'lib/arel/engines/memory/primitives.rb', line 21
def direction; -1 end
|
#direction_sql ⇒ Object
65
|
# File 'lib/arel/engines/sql/primitives.rb', line 65
def direction_sql; 'DESC' end
|