Class: Squeel::Nodes::Grouping

Inherits:
Unary show all
Includes:
Aliasing, Operators, Ordering, PredicateMethods, PredicateOperators
Defined in:
lib/squeel/nodes/grouping.rb

Overview

A node that represents an SQL function call

Instance Attribute Summary

Attributes inherited from Unary

#expr

Instance Method Summary collapse

Methods included from Ordering

#asc, #desc

Methods included from Aliasing

#as

Methods included from Operators

#*, #+, #-, #/, #op

Methods included from PredicateOperators

#&, #-@, #|

Methods included from PredicateMethods

#eq

Methods inherited from Unary

#eql?, #hash, #initialize

Constructor Details

This class inherits a constructor from Squeel::Nodes::Unary

Instance Method Details

#to_symNilClass

expand_hash_conditions_for_aggregates assumes our hash keys can be converted to symbols, so this has to be implemented, but it doesn’t really have to do anything useful.

Returns:

  • (NilClass)

    Just to avoid bombing out on expand_hash_conditions_for_aggregates



28
29
30
# File 'lib/squeel/nodes/grouping.rb', line 28

def to_sym
  nil
end