1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Aaron Patterson
67d2f9a922 adding a Value node so that SqlLiteral values may be used 2010-09-09 15:20:25 -07:00
Aaron Patterson
bd5f19371f adding a table and engine 2010-08-12 11:24:16 -07:00
Bryan Helmkamp
bdca9ed42f moved sql related code to its own engine area
Conflicts:

	lib/arel/engine.rb
	lib/arel/extensions/object.rb
	lib/arel/predicates.rb
	lib/arel/primitives/attribute.rb
	lib/arel/primitives/expression.rb
	lib/arel/primitives/value.rb
	lib/arel/relations/operations/join.rb
	lib/arel/relations/relation.rb
	lib/arel/relations/utilities/externalization.rb
	lib/arel/relations/utilities/nil.rb
	lib/arel/relations/writes/delete.rb
	lib/arel/relations/writes/insert.rb
	lib/arel/relations/writes/update.rb
	spec/arel/unit/relations/skip_spec.rb
	spec/arel/unit/relations/take_spec.rb
	spec/spec_helper.rb
2009-05-17 14:24:06 -04:00
Emilio Tagua
a7dea38204 Don't depend engine select_value(s) method. Quoting should be performed by connection not ARel 2009-05-06 14:14:56 -03:00
Emilio Tagua
de843c8651 Fixes for PostgreSQL: always alias expresions and quote values. 2009-05-04 21:50:44 -03:00
Emilio Tagua
b4b73d9520 Added DISTINCT support. Modified when to quote or not columns and tables. 2009-04-29 19:38:39 -03:00
Emilio Tagua
5e4bfb1ce4 Workaround so quote_table_name is not included when not using a column name. For example: project('2 * amount') 2009-04-28 19:51:00 -03:00
Emilio Tagua
a454d45403 Fix insertion to work on SQLite3 2009-04-23 18:53:03 -03:00
Nick Kallen
14210279b2 can't remember what i was working on 2008-05-18 22:11:05 -07:00
Nick Kallen
32ad530b82 rename refactor of circle 2008-05-18 16:11:08 -07:00
Nick Kallen
2e252c4cc8 slight performance improvement 2008-05-17 14:43:27 -07:00
Nick Kallen
4b300befaf experimenting with new binding stuff 2008-05-15 18:42:16 -07:00
Nick Kallen
16730fdbd0 fixed defect in alias 2008-05-13 16:53:36 -07:00
Nick Kallen
680e080bb4 string passthrough for "group by" 2008-05-05 13:00:50 -07:00
Nick Kallen
6b28dcfa7e cleanup 2008-05-04 18:15:38 -07:00