diff options
Diffstat (limited to 'lib/arel/nodes.rb')
-rw-r--r-- | lib/arel/nodes.rb | 40 |
1 files changed, 22 insertions, 18 deletions
diff --git a/lib/arel/nodes.rb b/lib/arel/nodes.rb index 9af6ad9ce3..c43134bb50 100644 --- a/lib/arel/nodes.rb +++ b/lib/arel/nodes.rb @@ -1,33 +1,37 @@ +# node require 'arel/nodes/node' +require 'arel/nodes/lock' +require 'arel/nodes/select_statement' +require 'arel/nodes/select_core' +require 'arel/nodes/insert_statement' +require 'arel/nodes/update_statement' +# unary require 'arel/nodes/unary' require 'arel/nodes/unqualified_column' +# binary require 'arel/nodes/binary' - require 'arel/nodes/equality' -require 'arel/nodes/and' -require 'arel/nodes/in' -require 'arel/nodes/lock' - +require 'arel/nodes/in' # Why is this subclassed from equality? require 'arel/nodes/join_source' - require 'arel/nodes/ordering' +require 'arel/nodes/delete_statement' +require 'arel/nodes/table_alias' + +# nary +require 'arel/nodes/and' + +# function +# FIXME: Function + Alias can be rewritten as a Function and Alias node. +# We should make Function a Unary node and deprecate the use of "aliaz" require 'arel/nodes/function' require 'arel/nodes/count' require 'arel/nodes/values' -require 'arel/nodes/sum' -require 'arel/nodes/exists' -require 'arel/nodes/max' -require 'arel/nodes/min' -require 'arel/nodes/avg' -require 'arel/nodes/sql_literal' -require 'arel/nodes/select_core' -require 'arel/nodes/select_statement' -require 'arel/nodes/insert_statement' -require 'arel/nodes/update_statement' -require 'arel/nodes/delete_statement' -require 'arel/nodes/table_alias' + +# joins require 'arel/nodes/inner_join' require 'arel/nodes/outer_join' require 'arel/nodes/string_join' + +require 'arel/nodes/sql_literal' |