1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/arel/nodes.rb

68 lines
1.6 KiB
Ruby
Raw Normal View History

# frozen_string_literal: true
2018-02-24 01:45:50 -05:00
2010-12-15 00:06:16 -05:00
# node
2018-02-24 01:45:50 -05:00
require "arel/nodes/node"
require "arel/nodes/node_expression"
require "arel/nodes/select_statement"
require "arel/nodes/select_core"
require "arel/nodes/insert_statement"
require "arel/nodes/update_statement"
require "arel/nodes/bind_param"
2010-12-14 23:53:19 -05:00
2011-04-21 16:46:24 -04:00
# terminal
2018-02-24 01:45:50 -05:00
require "arel/nodes/terminal"
require "arel/nodes/true"
require "arel/nodes/false"
2011-04-21 16:46:24 -04:00
2010-12-15 00:06:16 -05:00
# unary
2018-02-24 01:45:50 -05:00
require "arel/nodes/unary"
require "arel/nodes/grouping"
require "arel/nodes/ascending"
require "arel/nodes/descending"
require "arel/nodes/unqualified_column"
require "arel/nodes/with"
2010-12-14 23:53:19 -05:00
2010-12-15 00:06:16 -05:00
# binary
2018-02-24 01:45:50 -05:00
require "arel/nodes/binary"
require "arel/nodes/equality"
require "arel/nodes/in" # Why is this subclassed from equality?
require "arel/nodes/join_source"
require "arel/nodes/delete_statement"
require "arel/nodes/table_alias"
require "arel/nodes/infix_operation"
require "arel/nodes/unary_operation"
require "arel/nodes/over"
require "arel/nodes/matches"
require "arel/nodes/regexp"
2010-12-15 00:06:16 -05:00
# nary
2018-02-24 01:45:50 -05:00
require "arel/nodes/and"
2010-12-15 00:06:16 -05:00
# 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"
2018-02-24 01:45:50 -05:00
require "arel/nodes/function"
require "arel/nodes/count"
require "arel/nodes/extract"
require "arel/nodes/values"
require "arel/nodes/values_list"
require "arel/nodes/named_function"
2010-12-15 00:06:16 -05:00
2012-02-22 09:25:10 -05:00
# windows
2018-02-24 01:45:50 -05:00
require "arel/nodes/window"
2012-02-22 09:25:10 -05:00
2015-12-19 13:40:46 -05:00
# conditional expressions
2018-02-24 01:45:50 -05:00
require "arel/nodes/case"
2015-12-19 13:40:46 -05:00
2010-12-15 00:06:16 -05:00
# joins
2018-02-24 01:45:50 -05:00
require "arel/nodes/full_outer_join"
require "arel/nodes/inner_join"
require "arel/nodes/outer_join"
require "arel/nodes/right_outer_join"
require "arel/nodes/string_join"
2010-12-15 00:06:16 -05:00
2018-02-24 01:45:50 -05:00
require "arel/nodes/sql_literal"
2018-02-24 01:45:50 -05:00
require "arel/nodes/casted"