Class: Arel::Ascending

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

#directionObject



25
# File 'lib/arel/engines/memory/primitives.rb', line 25

def direction; 1 end

#direction_sqlObject



61
# File 'lib/arel/engines/sql/primitives.rb', line 61

def direction_sql; 'ASC' end