Class: Arel::Distinct
- Inherits:
-
Expression
- Object
- Attribute
- Expression
- Arel::Distinct
- Defined in:
- lib/arel/algebra/expression.rb,
lib/arel/engines/sql/primitives.rb
Instance Method Summary collapse
Methods inherited from Expression
#aggregation?, #initialize, #inspect, #to_sql
Methods included from Expression::Transformations
Methods inherited from Attribute
#aggregation?, #column, #eval, #format, #initialize, #inspect, #named?, #to_sql
Methods included from Attribute::Types
#type_cast, #type_cast_to_numeric, #typecast_error
Methods included from Attribute::Orderings
Methods included from Attribute::Expressions
#average, #count, #maximum, #minimum, #sum
Methods included from Attribute::Predications
#eq, #eq_all, #eq_any, #gt, #gt_all, #gt_any, #gteq, #gteq_all, #gteq_any, #in, #in_all, #in_any, #lt, #lt_all, #lt_any, #lteq, #lteq_all, #lteq_any, #matches, #matches_all, #matches_any, #not_eq, #not_eq_all, #not_eq_any, #not_in, #not_in_all, #not_in_any, #not_matches, #not_matches_all, #not_matches_any
Methods included from Attribute::Congruence
#/, #descends_from?, #find_correlate_in, #history, #join?, #original_attribute, #original_relation, #root
Methods included from Attribute::Transformations
#as, #bind, #hash, included, #to_attribute
Constructor Details
This class inherits a constructor from Arel::Expression
Instance Method Details
#function_sql ⇒ Object
79 |
# File 'lib/arel/engines/sql/primitives.rb', line 79 def function_sql; 'DISTINCT' end |