aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra/relations
Commit message (Collapse)AuthorAgeFilesLines
* Restrictions should be able to contain multiple predicates.Carl Lerche2010-03-231-5/+5
|
* Switch Arel::Relation to a module. This will allow for classes with Relation ↵Carl Lerche2010-03-225-7/+11
| | | | extended on them to represent relations themselves (as opposed to their instances being relations).
* Fix uninitialized ivar warningEmilio Tagua2010-03-221-0/+1
|
* Add shared tests for skipCarl Lerche2010-03-121-1/+2
|
* Add full stack tests for #takeCarl Lerche2010-03-121-1/+2
|
* Support in memory ordering better.Carl Lerche2010-03-123-11/+21
|
* Merge branch 'master' of github.com:brynary/arelEmilio Tagua2010-03-121-0/+9
|\
| * Start writing integration specs for arel.Carl Lerche2010-03-111-0/+9
| |
* | Add accessibility to projections applied to the relation.Emilio Tagua2010-03-122-1/+2
|/
* Arel doesn't has to know if a table or column exists.Emilio Tagua2010-03-101-2/+3
|
* Make sure string join relations can be chainedPratik Naik2010-01-131-0/+4
|
* Add support for table aliasingPratik Naik2010-01-011-1/+1
| | | | | | | Example : users = Table(:users, :as => :accounts) users.to_sql => SELECT `accounts`.`id`, `accounts`.`name` FROM `users` AS `accounts`
* Attributes may be an Arel value which doesn't respond to aggregation?, don't ↵Emilio Tagua2009-12-291-1/+1
| | | | test them.
* Added having to use in combination with group to filter records.Emilio Tagua2009-12-283-2/+16
|
* Added lock to Arel, allowing a locking read if required.Emilio Tagua2009-12-273-1/+18
|
* Added "from" method, allowing to specify custom from clauses.Emilio Tagua2009-12-273-2/+9
|
* Accept Arel::Value in hash values and treat them properly.Emilio Tagua2009-08-141-1/+1
|
* Expand usages of #hash_on. The #hash definition it produces looks broken, ↵Bryan Helmkamp2009-05-182-3/+18
| | | | but leaving it for now
* Removing two unused externalizable? methodsBryan Helmkamp2009-05-172-8/+0
|
* WhitespaceBryan Helmkamp2009-05-179-21/+21
|
* joining across engines in either directionBryan Helmkamp2009-05-171-1/+9
| | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb
* initial implementation of cross-engine joinBryan Helmkamp2009-05-171-2/+3
| | | | | | | Conflicts: lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/primitives.rb
* basic implementation of in memory insertionsBryan Helmkamp2009-05-171-1/+1
| | | | | | Conflicts: lib/arel/engines/memory/relations.rb
* using in memory relations as results from sql relationNick Kallen2009-05-172-3/+10
| | | | | | | Conflicts: lib/arel/algebra/primitives/expression.rb lib/arel/algebra/relations/relation.rb
* performing in memory joinsNick Kallen2009-05-171-0/+4
|
* recursive memory operations now possibleBryan Helmkamp2009-05-172-4/+21
| | | | | | Conflicts: lib/arel/algebra/relations/relation.rb
* made block stuff read nicerBryan Helmkamp2009-05-174-3/+11
| | | | | | Conflicts: doc/TODO
* most in memory operations save join and groupBryan Helmkamp2009-05-171-1/+2
| | | | | | | | | | | | | 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-171-1/+1
|
* join sql stuff moved into sql adapterBryan Helmkamp2009-05-173-13/+19
| | | | | | | | | 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
* consolidated filesBryan Helmkamp2009-05-174-38/+36
| | | | | | | | | | | | | | 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-1715-0/+355
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