aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/arel/visitors/dispatch_contamination_test.rb
diff options
context:
space:
mode:
authorVille Lautanala <lautis@gmail.com>2017-04-25 07:41:52 +0300
committerVille Lautanala <lautis@gmail.com>2017-04-25 07:56:26 +0300
commitd8f463a3b87ff9f69eef2a3ed5718b198c2072a1 (patch)
tree2bb34207722f3f9d23275a4c1c827fa019f45850 /activerecord/test/cases/arel/visitors/dispatch_contamination_test.rb
parent6a9f79ad876b930ab8cb17acf70b95c1cc800f8d (diff)
downloadrails-d8f463a3b87ff9f69eef2a3ed5718b198c2072a1.tar.gz
rails-d8f463a3b87ff9f69eef2a3ed5718b198c2072a1.tar.bz2
rails-d8f463a3b87ff9f69eef2a3ed5718b198c2072a1.zip
PostgreSQL lateral expressions
Support for PostgreSQL lateral expressions. This is treated as an unary function applied to a query expression. Lateral is a separate function to provide interoperability with aliases and unions. These are also separate node types that wrap SelectStatements. The lateral option would need to be implemented in these nodes separately if lateral was an option of SelectStatement. When building the query, an alias can be given as an argument. This enables building a lateral query with an table alias without using either Nodes::TableAlias or Nodes::Lateral directly.
Diffstat (limited to 'activerecord/test/cases/arel/visitors/dispatch_contamination_test.rb')
0 files changed, 0 insertions, 0 deletions