diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-12 16:19:54 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-08-12 16:19:54 -0700 |
commit | 16e7273245473bb6466a79a38702a52387bab44d (patch) | |
tree | e6958fb5be8980927d9ab1cbabfe100f8c90dad9 /lib/arel/nodes/select.rb | |
parent | d827d6e9ee10fa0906b7b3cfd191e6f9ac5d6b08 (diff) | |
download | rails-16e7273245473bb6466a79a38702a52387bab44d.tar.gz rails-16e7273245473bb6466a79a38702a52387bab44d.tar.bz2 rails-16e7273245473bb6466a79a38702a52387bab44d.zip |
full sql statement generation
Diffstat (limited to 'lib/arel/nodes/select.rb')
-rw-r--r-- | lib/arel/nodes/select.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/arel/nodes/select.rb b/lib/arel/nodes/select.rb new file mode 100644 index 0000000000..8f68adbcd5 --- /dev/null +++ b/lib/arel/nodes/select.rb @@ -0,0 +1,13 @@ +module Arel + module Nodes + class Select + attr_reader :froms, :projections, :wheres + + def initialize + @froms = [] + @projections = [] + @wheres = [] + end + end + end +end |