diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-19 10:37:50 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-19 10:37:50 -0700 |
commit | 6451188abf647d6aa855d22db8d2d62a2b2c4542 (patch) | |
tree | 09cf0a6a93db2c3bfeafbeefb70c90d54bab5e79 /lib/arel/nodes/join.rb | |
parent | 6b851c686faefe54efce0857f8b7b7b0c04bb673 (diff) | |
download | rails-6451188abf647d6aa855d22db8d2d62a2b2c4542.tar.gz rails-6451188abf647d6aa855d22db8d2d62a2b2c4542.tar.bz2 rails-6451188abf647d6aa855d22db8d2d62a2b2c4542.zip |
adding outer joins
Diffstat (limited to 'lib/arel/nodes/join.rb')
-rw-r--r-- | lib/arel/nodes/join.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/arel/nodes/join.rb b/lib/arel/nodes/join.rb new file mode 100644 index 0000000000..6dede632c5 --- /dev/null +++ b/lib/arel/nodes/join.rb @@ -0,0 +1,13 @@ +module Arel + module Nodes + class Join + attr_accessor :left, :right, :constraint + + def initialize left, right, constraint + @left = left + @right = right + @constraint = constraint + end + end + end +end |