aboutsummaryrefslogtreecommitdiffstats
path: root/spec/arel/unit
Commit message (Collapse)AuthorAgeFilesLines
* most in memory operations save join and groupBryan Helmkamp2009-05-173-19/+72
| | | | | | | | | | | | | 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
* join sql stuff moved into sql adapterBryan Helmkamp2009-05-172-8/+8
| | | | | | | | | 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-172-9/+9
| | | | | | | | Conflicts: lib/arel/algebra/primitives/attribute.rb lib/arel/algebra/primitives/expression.rb spec/arel/unit/primitives/expression_spec.rb
* consolidated filesBryan Helmkamp2009-05-171-2/+2
| | | | | | | | | | | | | | 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-171-0/+7
| | | | | | | | | | 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-173-4/+4
| | | | | | | | | | | | | | | | | | | | | 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-176-42/+32
| | | | | | | | | | | | | | | | 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-1718-264/+702
|
* Don't depend engine select_value(s) method. Quoting should be performed by ↵Emilio Tagua2009-05-064-14/+14
| | | | connection not ARel
* Added DISTINCT support. Modified when to quote or not columns and tables.Emilio Tagua2009-04-292-17/+24
|
* ORDER BY should be included after GROUP BY clauseEmilio Tagua2009-04-281-4/+4
|
* Removed table quotings to be SQLite3 compliant. Delete and update will ↵Emilio Tagua2009-04-242-54/+35
| | | | returrn the size of modified records to prevent addional queries to be done.
* Fix insertion to work on SQLite3Emilio Tagua2009-04-231-4/+4
|
* Use the engine not the engine.connection, the engine may not even respond to ↵Emilio Tagua2009-04-231-16/+16
| | | | connection
* Moved require to initializerEmilio Tagua2009-04-231-11/+11
|
* AND/OR support for predicatesBryan Helmkamp2008-05-272-0/+60
|
* limits and offsets need to be externalized too. first draftNick Kallen2008-05-201-3/+3
|
* reorganized file structureNick Kallen2008-05-191-31/+0
|
* renamed ion classesNick Kallen2008-05-196-21/+21
|
* renamed select operation to whereNick Kallen2008-05-197-19/+19
|
* can't remember what i was working onNick Kallen2008-05-181-0/+20
|
* performance enhancementsNick Kallen2008-05-183-43/+1
|
* rename refactor of circleNick Kallen2008-05-184-17/+4
|
* still fasterNick Kallen2008-05-171-1/+1
|
* performance enhancementsNick Kallen2008-05-173-25/+13
|
* simplificatin of attribute divisionNick Kallen2008-05-171-8/+1
|
* additional test coverage for some random complex caseNick Kallen2008-05-161-0/+1
|
* reorganized integration join specsNick Kallen2008-05-161-181/+13
|
* worserNick Kallen2008-05-151-0/+4
|
* thinks must get worse before they get betterNick Kallen2008-05-152-1/+5
|
* fixed defect with select inside of alias joined to the same table (yikes)Nick Kallen2008-05-141-5/+18
|
* fixed defect in aliasNick Kallen2008-05-134-12/+13
|
* some memoizing and hash equality performance optimizationsNick Kallen2008-05-123-16/+8
|
* removing operator overloadingNick Kallen2008-05-071-4/+4
|
* string passthrough for "group by"Nick Kallen2008-05-052-18/+0
|
* better column disambiguationNick Kallen2008-05-052-0/+46
|
* reorganizationNick Kallen2008-05-042-23/+12
|
* cleanupNick Kallen2008-05-041-53/+51
|
* additional testingNick Kallen2008-05-041-28/+78
|
* Table names seem to be disambiguated.Nick Kallen2008-05-044-29/+15
| | | | - Code is a mess, about to undergo some refactoring
* finally fixed table aliasing issuesNick Kallen2008-05-011-1/+1
| | | | - the solution is currently ugly, but i have an idea how to clean it up
* naming of aliased relations seemed to be solved; now aggregate relations are ↵Nick Kallen2008-05-011-4/+6
| | | | still broken
* my failing test. this is really really hardNick Kallen2008-04-301-1/+8
|
* the big obstacleNick Kallen2008-04-303-23/+18
|
* improved messaging in testNick Kallen2008-04-281-3/+2
|
* automatically aliasing tablesNick Kallen2008-04-282-64/+42
|
* attribute disambiguationNick Kallen2008-04-271-8/+25
|
* results of a select query are a hash indexed by attribute rather than stringNick Kallen2008-04-271-1/+1
|
* in fact, when doing subsequent orderings, we assume that the previous ↵Nick Kallen2008-04-181-2/+2
| | | | orderings have taken effect and therefore where the new ordering finds things equal, the previous ordering should take effect
* when ordering, the last order winsNick Kallen2008-04-181-13/+2
|