aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel
Commit message (Collapse)AuthorAgeFilesLines
* adding an AS nodeAaron Patterson2010-11-234-1/+16
|
* adding a "not" factory method for creating Not nodesAaron Patterson2010-11-234-0/+23
|
* mysql will lock for updateAaron Patterson2010-11-221-0/+4
|
* Fixed Ruby 1.8 performance regression for Nodes::In and Nodes::NotIn queries ↵Rolf Timmermans2010-11-181-7/+7
| | | | with very wide ranges that was caused by using Range#min and Range#max rather than Range#begin and Range#end. Ruby 1.8 uses Enumerable#min and Enumerable#max in Ranges, which calls to_a internally. It is not necessary to enumerate the range in order to construct the predicates. At the same time, an off-by-one error (failing test) with exclusive-end Ranges in Nodes::NotIn queries was fixed.
* Fix a bit the initialization of TableIvan Ukhov2010-11-171-1/+1
|
* Let table_exists? find tables in @@table_cache even if symbols are passed as ↵Ivan Ukhov2010-11-171-2/+2
| | | | their names
* added a visitor for Class objectsAaron Patterson2010-11-161-0/+1
|
* returning undefined for unknown column typesAaron Patterson2010-11-162-7/+8
|
* small additional fix for order_hacks method for OracleRaimonds Simanovskis2010-11-161-2/+6
|
* fix one more time order_hacks method for OracleRaimonds Simanovskis2010-11-161-8/+17
| | | correctly split order string by commas ignoring commas which separate function arguments
* support stringinquirer stringAaron Patterson2010-11-111-0/+1
|
* Merge branch 'master' of github.com:brynary/arelAaron Patterson2010-11-111-1/+17
|\ | | | | | | | | * 'master' of github.com:brynary/arel: fix order_hacks method for Oracle when complex functions are used in order by
| * fix order_hacks method for Oracle when complex functions are used in order byRaimonds Simanovskis2010-11-061-1/+17
| |
* | arel more nicely supports EXISTS queriesAaron Patterson2010-11-054-8/+11
| |
* | mysql selects from dual on empty from statementsAaron Patterson2010-11-052-0/+6
| |
* | renaming @head to @astAaron Patterson2010-11-056-35/+36
|/
* Add ToSql NilClass visitorErnie Miller2010-11-041-0/+1
|
* Refactor predication methods to be available to SqlLiterals as well.Ernie Miller2010-10-273-174/+179
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2010-10-261-0/+1
|\ | | | | | | | | * 'master' of github.com:rails/arel: Added Bignum to visitor
| * Added Bignum to visitorrugek2010-10-261-0/+1
| |
* | generate correct select if only offset is present (in Oracle)Raimonds Simanovskis2010-10-211-0/+14
|/
* adding default limits when there is an offset for sqlite and mysql [#5316 ↵Aaron Patterson2010-10-204-0/+25
| | | | state:resolved]
* doing a little cleanup on the visitorsAaron Patterson2010-10-194-3/+9
|
* adding a base class visitorAaron Patterson2010-10-193-10/+22
|
* Fisting arel specs -- still needs tree_manager and cleanupRyan Davis2010-10-181-5/+1
|
* Created syntactic sugar Table(...) methodSnuggs2010-10-161-1/+5
|
* symbols work as sql literalsAaron Patterson2010-10-151-1/+1
|
* add locking support for postgresAaron Patterson2010-10-131-0/+4
|
* fixing manifest fileAaron Patterson2010-10-121-0/+9
|
* implementing where_sql methodAaron Patterson2010-10-122-0/+8
|
* alias visitor_for to forAaron Patterson2010-10-032-1/+2
|
* Support Attribute#asc and Attribute#desc to create orderingsErnie Miller2010-09-295-0/+37
|
* In SQL visitor, too. :)Ernie Miller2010-09-291-0/+1
|
* Support visiting Arel_Attribute_FloatErnie Miller2010-09-291-0/+1
|
* Don't reassign array in ToSql#visit_Arel_Nodes_NotInErnie Miller2010-09-291-2/+3
|
* adding better dot file support for our nodesAaron Patterson2010-09-295-5/+41
|
* fixing column escape for IN nodes. [resolves:5732]Aaron Patterson2010-09-292-6/+12
|
* Merge remote branch 'ernie/master'Aaron Patterson2010-09-297-0/+176
|\ | | | | | | | | | | | | * ernie/master: Make PostgreSQL play nice with its friends. (matches -> ILIKE instead of LIKE) Add support for remaining *_any/*_all attribute methods, and add matches/does_not_match/not_in Add eq_any.
| * Make PostgreSQL play nice with its friends. (matches -> ILIKE instead of LIKE)Ernie Miller2010-09-291-0/+8
| |
| * Add support for remaining *_any/*_all attribute methods, and add ↵Ernie Miller2010-09-296-4/+164
| | | | | | | | matches/does_not_match/not_in
| * Add eq_any.Ernie Miller2010-09-291-0/+8
| |
* | use subquery for limit when DISTINCT is used (in Oracle)Raimonds Simanovskis2010-09-291-2/+4
|/
* refactoring join_sql to return nil if there are no sourcesAaron Patterson2010-09-282-11/+12
|
* making select manager publicAaron Patterson2010-09-281-1/+2
|
* added missing method visit_Arel_Attributes_Decimal as alias for ↵Raimonds Simanovskis2010-09-281-0/+1
| | | | visit_Arel_Attributes_Attribute
* pass primary key name and value to ActiveRecord adapter insert methodRaimonds Simanovskis2010-09-282-3/+15
| | | | necessary for Oracle adapter for RETURNING ... INTO ... clause generation
* these readers should be accessorsAaron Patterson2010-09-271-1/+1
|
* changing method name to be more clearAaron Patterson2010-09-271-11/+11
|
* requiring date at the top of the visitorAaron Patterson2010-09-271-0/+1
|
* to_sql on nodes may be passed an engineAaron Patterson2010-09-274-26/+11
|