aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* performing in memory joinsNick Kallen2009-05-174-4/+61
|
* better test orderingBryan Helmkamp2009-05-177-91/+149
| | | | | | Conflicts: doc/TODO
* recursive memory operations now possibleBryan Helmkamp2009-05-1712-46/+107
| | | | | | Conflicts: lib/arel/algebra/relations/relation.rb
* removed duplicates from sql testsBryan Helmkamp2009-05-1713-553/+1
| | | | | | | | | | | | | | | | Conflicts: spec/arel/engines/sql/unit/predicates/binary_spec.rb spec/arel/engines/sql/unit/predicates/equality_spec.rb spec/arel/engines/sql/unit/primitives/attribute_spec.rb spec/arel/engines/sql/unit/primitives/expression_spec.rb spec/arel/engines/sql/unit/relations/alias_spec.rb spec/arel/engines/sql/unit/relations/join_spec.rb spec/arel/engines/sql/unit/relations/project_spec.rb spec/arel/engines/sql/unit/relations/relation_spec.rb spec/arel/engines/sql/unit/relations/table_spec.rb spec/arel/engines/sql/unit/relations/where_spec.rb spec/arel/engines/sql/unit/session/session_spec.rb
* reorganizing testsNick Kallen2009-05-1745-32/+803
|
* made block stuff read nicerBryan Helmkamp2009-05-175-18/+26
| | | | | | Conflicts: doc/TODO
* Add rake whitespaceBryan Helmkamp2009-05-171-1/+6
|
* most in memory operations save join and groupBryan Helmkamp2009-05-1719-32/+208
| | | | | | | | | | | | | Conflicts: lib/arel/algebra/extensions/object.rb lib/arel/algebra/primitives/value.rb lib/arel/engines/memory/relations.rb lib/arel/engines/sql/formatters.rb lib/arel/engines/sql/primitives.rb spec/arel/unit/relations/alias_spec.rb spec/arel/unit/relations/array_spec.rb spec/arel/unit/relations/order_spec.rb
* moved table-related stuff into sql engineNick Kallen2009-05-173-1/+8
|
* join sql stuff moved into sql adapterBryan Helmkamp2009-05-178-30/+51
| | | | | | | | | Conflicts: lib/arel/algebra/primitives/value.rb lib/arel/algebra/relations/operations/join.rb lib/arel/algebra/relations/relation.rb spec/arel/unit/relations/join_spec.rb
* removed function_sql in favor of polymorphismBryan Helmkamp2009-05-176-27/+65
| | | | | | | | Conflicts: lib/arel/algebra/primitives/attribute.rb lib/arel/algebra/primitives/expression.rb spec/arel/unit/primitives/expression_spec.rb
* consolidated filesBryan Helmkamp2009-05-1722-168/+135
| | | | | | | | | | | | | | Conflicts: lib/arel/algebra/predicates.rb lib/arel/algebra/relations/writes/delete.rb lib/arel/algebra/relations/writes/insert.rb lib/arel/algebra/relations/writes/update.rb lib/arel/engines/memory/predicates.rb lib/arel/engines/memory/relations.rb lib/arel/engines/sql/primitives/attribute.rb lib/arel/engines/sql/relations/writes/insert.rb lib/arel/engines/sql/relations/writes/update.rb
* reorganized file structuresBryan Helmkamp2009-05-1760-77/+160
| | | | | | | | | | Conflicts: lib/arel.rb lib/arel/arel.rb lib/arel/engines/memory/predicates.rb lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/relations/table.rb
* moved sql related code to its own engine areaBryan Helmkamp2009-05-1756-208/+279
| | | | | | | | | | | | | | | | | | | | | 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
* reorganized callBryan Helmkamp2009-05-1715-71/+95
| | | | | | | | | | | | | | | | Conflicts: doc/TODO lib/arel/relations/relation.rb lib/arel/relations/writes/delete.rb lib/arel/relations/writes/insert.rb lib/arel/relations/writes/update.rb lib/arel/session.rb spec/arel/unit/relations/delete_spec.rb spec/arel/unit/relations/insert_spec.rb spec/arel/unit/relations/relation_spec.rb spec/arel/unit/relations/update_spec.rb spec/arel/unit/session/session_spec.rb
* Adding spec:mysql and spec:sqlite3 tasksBryan Helmkamp2009-05-1729-421/+1101
|
* Merge commit 'joshsusser/master'Bryan Helmkamp2009-05-160-0/+0
|\
| * merge changes from nickJosh Susser2008-03-1541-152/+374
| |\
| * | change README to README.markdownJosh Susser2008-03-091-12/+14
| | |
* | | Rename README -> README.markdownBryan Helmkamp2009-05-161-0/+0
| | |
* | | Merge commit 'nkallen/master'Bryan Helmkamp2009-05-161-0/+1
|\ \ \
| * | | Update TODOBryan Helmkamp2008-05-271-0/+1
| | | |
* | | | Don't depend engine select_value(s) method. Quoting should be performed by ↵Emilio Tagua2009-05-069-44/+35
| | | | | | | | | | | | | | | | connection not ARel
* | | | Fixes for PostgreSQL: always alias expresions and quote values.Emilio Tagua2009-05-042-5/+5
| | | |
* | | | COUNT should return an integerEmilio Tagua2009-05-021-1/+1
| | | |
* | | | Don't bind, just assign.Emilio Tagua2009-04-301-1/+1
| | | |
* | | | Added DISTINCT support. Modified when to quote or not columns and tables.Emilio Tagua2009-04-297-24/+54
| | | |
* | | | Workaround so quote_table_name is not included when not using a column name. ↵Emilio Tagua2009-04-281-0/+5
| | | | | | | | | | | | | | | | For example: project('2 * amount')
* | | | ORDER BY should be included after GROUP BY clauseEmilio Tagua2009-04-283-7/+11
| | | |
* | | | Added aggregation and to_attribute methods to ValueEmilio Tagua2009-04-243-14/+22
| | | |
* | | | Removed table quotings to be SQLite3 compliant. Delete and update will ↵Emilio Tagua2009-04-247-72/+53
| | | | | | | | | | | | | | | | returrn the size of modified records to prevent addional queries to be done.
* | | | Fix insertion to work on SQLite3Emilio Tagua2009-04-239-93/+97
| | | |
* | | | Required singletonEmilio Tagua2009-04-231-2/+4
| | | |
* | | | Use the engine not the engine.connection, the engine may not even respond to ↵Emilio Tagua2009-04-234-35/+35
| | | | | | | | | | | | | | | | connection
* | | | Moved require to initializerEmilio Tagua2009-04-233-14/+13
| | | |
* | | | Quoting must be requiredEmilio Tagua2009-04-232-6/+8
|/ / /
* | | AND/OR support for predicatesBryan Helmkamp2008-05-274-1/+82
| | |
* | | externalization now includes limitsNick Kallen2008-05-2111-6/+28
| | |
* | | limits and offsets need to be externalized too. first draftNick Kallen2008-05-2013-47/+121
| | |
* | | removed more boiler-plateNick Kallen2008-05-199-78/+31
| | |
* | | some drying up of boiler plate initialization and equality codeNick Kallen2008-05-199-71/+55
| | |
* | | drying up some of the codeNick Kallen2008-05-192-39/+16
| | |
* | | some convenience methodsNick Kallen2008-05-198-16/+21
| | |
* | | reorganized file structureNick Kallen2008-05-1925-57/+27
| | |
* | | renamed ion classesNick Kallen2008-05-1913-36/+37
| | |
* | | renamed select operation to whereNick Kallen2008-05-1921-105/+165
| | |
* | | can't remember what i was working onNick Kallen2008-05-188-14/+52
| | |
* | | performance enhancementsNick Kallen2008-05-1820-101/+59
| | |
* | | rename refactor of circleNick Kallen2008-05-1812-51/+36
| | |
* | | still fasterNick Kallen2008-05-175-3/+15
| | |