aboutsummaryrefslogtreecommitdiffstats
path: root/lib/arel/algebra
Commit message (Collapse)AuthorAgeFilesLines
* 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-284-2/+17
|
* Added lock to Arel, allowing a locking read if required.Emilio Tagua2009-12-274-1/+19
|
* Added "from" method, allowing to specify custom from clauses.Emilio Tagua2009-12-274-2/+10
|
* Pull primitives up one levelBryan Helmkamp2009-09-305-5/+0
|
* Create Predicates module to match directory structureBryan Helmkamp2009-09-302-37/+39
|
* Move extensions directories to core_extensionsBryan Helmkamp2009-09-306-4/+4
|
* Fix almost all Ruby warnings during spec suiteBryan Helmkamp2009-09-201-1/+1
|
* WhitespaceBryan Helmkamp2009-09-205-5/+5
|
* Accept Arel::Value in hash values and treat them properly.Emilio Tagua2009-08-141-1/+1
|
* Better inspect output for ExpressionsBryan Helmkamp2009-05-181-0/+4
|
* Removing unused Pathname extensionBryan Helmkamp2009-05-181-9/+0
|
* Expand usages of #hash_on. The #hash definition it produces looks broken, ↵Bryan Helmkamp2009-05-183-13/+18
| | | | but leaving it for now
* Removing Object#metaclass definition (it's already in ActiveSupport)Bryan Helmkamp2009-05-171-6/+0
|
* Fix bug in Order equality where Descending.new(attribute) was == ↵Bryan Helmkamp2009-05-171-4/+9
| | | | Ascending.new(attribute)
* Removing two unused externalizable? methodsBryan Helmkamp2009-05-172-8/+0
|
* Removing unused array extensionsBryan Helmkamp2009-05-172-18/+0
|
* Include modules to extend core classes to improve inspectabilityBryan Helmkamp2009-05-176-63/+88
|
* WhitespaceBryan Helmkamp2009-05-1718-41/+41
|
* 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-176-6/+19
| | | | | | | 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-174-11/+22
| | | | | | 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-178-7/+59
| | | | | | | | | | | | | 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-174-14/+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
* removed function_sql in favor of polymorphismBryan Helmkamp2009-05-172-10/+18
| | | | | | | | Conflicts: lib/arel/algebra/primitives/attribute.rb lib/arel/algebra/primitives/expression.rb spec/arel/unit/primitives/expression_spec.rb
* consolidated filesBryan Helmkamp2009-05-176-58/+50
| | | | | | | | | | | | | | 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-1727-0/+675
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