Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Expand usages of #hash_on. The #hash definition it produces looks broken, ↵ | Bryan Helmkamp | 2009-05-18 | 4 | -14/+26 |
| | | | | but leaving it for now | ||||
* | Cleanup Sql formatters a bit | Bryan Helmkamp | 2009-05-18 | 1 | -16/+8 |
| | |||||
* | Cleaning up Sql::Engine#read | Bryan Helmkamp | 2009-05-18 | 1 | -6/+0 |
| | |||||
* | Extracting #build_query method for creating SQL from parts | Bryan Helmkamp | 2009-05-17 | 3 | -16/+25 |
| | |||||
* | Refactor #select_sql. Extract methods to generate clauses | Bryan Helmkamp | 2009-05-17 | 1 | -7/+27 |
| | |||||
* | Removing Object#metaclass definition (it's already in ActiveSupport) | Bryan Helmkamp | 2009-05-17 | 1 | -6/+0 |
| | |||||
* | Fix bug in Order equality where Descending.new(attribute) was == ↵ | Bryan Helmkamp | 2009-05-17 | 1 | -4/+9 |
| | | | | Ascending.new(attribute) | ||||
* | Removing two unused externalizable? methods | Bryan Helmkamp | 2009-05-17 | 2 | -8/+0 |
| | |||||
* | Removing unused array extensions | Bryan Helmkamp | 2009-05-17 | 2 | -18/+0 |
| | |||||
* | Include modules to extend core classes to improve inspectability | Bryan Helmkamp | 2009-05-17 | 10 | -84/+134 |
| | |||||
* | Moving a few stray SQL references in the memory engine code | Bryan Helmkamp | 2009-05-17 | 2 | -15/+14 |
| | |||||
* | Whitespace | Bryan Helmkamp | 2009-05-17 | 48 | -93/+93 |
| | |||||
* | joining across engines in either direction | Bryan Helmkamp | 2009-05-17 | 1 | -1/+9 |
| | | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb | ||||
* | initial implementation of cross-engine join | Bryan Helmkamp | 2009-05-17 | 7 | -6/+21 |
| | | | | | | | Conflicts: lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/primitives.rb | ||||
* | basic implementation of in memory insertions | Bryan Helmkamp | 2009-05-17 | 5 | -1/+16 |
| | | | | | | Conflicts: lib/arel/engines/memory/relations.rb | ||||
* | using in memory relations as results from sql relation | Nick Kallen | 2009-05-17 | 11 | -22/+27 |
| | | | | | | | Conflicts: lib/arel/algebra/primitives/expression.rb lib/arel/algebra/relations/relation.rb | ||||
* | performing in memory joins | Nick Kallen | 2009-05-17 | 2 | -0/+25 |
| | |||||
* | recursive memory operations now possible | Bryan Helmkamp | 2009-05-17 | 10 | -17/+46 |
| | | | | | | Conflicts: lib/arel/algebra/relations/relation.rb | ||||
* | made block stuff read nicer | Bryan Helmkamp | 2009-05-17 | 4 | -3/+11 |
| | | | | | | Conflicts: doc/TODO | ||||
* | most in memory operations save join and group | Bryan Helmkamp | 2009-05-17 | 15 | -11/+130 |
| | | | | | | | | | | | | | 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 engine | Nick Kallen | 2009-05-17 | 3 | -1/+8 |
| | |||||
* | join sql stuff moved into sql adapter | Bryan Helmkamp | 2009-05-17 | 6 | -22/+43 |
| | | | | | | | | | 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 polymorphism | Bryan Helmkamp | 2009-05-17 | 3 | -16/+48 |
| | | | | | | | | Conflicts: lib/arel/algebra/primitives/attribute.rb lib/arel/algebra/primitives/expression.rb spec/arel/unit/primitives/expression_spec.rb | ||||
* | consolidated files | Bryan Helmkamp | 2009-05-17 | 21 | -166/+133 |
| | | | | | | | | | | | | | | 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 structures | Bryan Helmkamp | 2009-05-17 | 54 | -64/+144 |
| | | | | | | | | | | 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 area | Bryan Helmkamp | 2009-05-17 | 50 | -200/+272 |
| | | | | | | | | | | | | | | | | | | | | | 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 call | Bryan Helmkamp | 2009-05-17 | 8 | -20/+56 |
| | | | | | | | | | | | | | | | | 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 | ||||
* | Don't depend engine select_value(s) method. Quoting should be performed by ↵ | Emilio Tagua | 2009-05-06 | 2 | -10/+1 |
| | | | | connection not ARel | ||||
* | Fixes for PostgreSQL: always alias expresions and quote values. | Emilio Tagua | 2009-05-04 | 2 | -5/+5 |
| | |||||
* | COUNT should return an integer | Emilio Tagua | 2009-05-02 | 1 | -1/+1 |
| | |||||
* | Don't bind, just assign. | Emilio Tagua | 2009-04-30 | 1 | -1/+1 |
| | |||||
* | Added DISTINCT support. Modified when to quote or not columns and tables. | Emilio Tagua | 2009-04-29 | 4 | -7/+26 |
| | |||||
* | Workaround so quote_table_name is not included when not using a column name. ↵ | Emilio Tagua | 2009-04-28 | 1 | -0/+5 |
| | | | | For example: project('2 * amount') | ||||
* | ORDER BY should be included after GROUP BY clause | Emilio Tagua | 2009-04-28 | 2 | -3/+7 |
| | |||||
* | Added aggregation and to_attribute methods to Value | Emilio Tagua | 2009-04-24 | 3 | -14/+22 |
| | |||||
* | Removed table quotings to be SQLite3 compliant. Delete and update will ↵ | Emilio Tagua | 2009-04-24 | 5 | -18/+18 |
| | | | | returrn the size of modified records to prevent addional queries to be done. | ||||
* | Fix insertion to work on SQLite3 | Emilio Tagua | 2009-04-23 | 8 | -89/+93 |
| | |||||
* | Required singleton | Emilio Tagua | 2009-04-23 | 1 | -2/+4 |
| | |||||
* | Use the engine not the engine.connection, the engine may not even respond to ↵ | Emilio Tagua | 2009-04-23 | 3 | -19/+19 |
| | | | | connection | ||||
* | AND/OR support for predicates | Bryan Helmkamp | 2008-05-27 | 1 | -0/+21 |
| | |||||
* | externalization now includes limits | Nick Kallen | 2008-05-21 | 9 | -6/+12 |
| | |||||
* | limits and offsets need to be externalized too. first draft | Nick Kallen | 2008-05-20 | 10 | -17/+22 |
| | |||||
* | removed more boiler-plate | Nick Kallen | 2008-05-19 | 9 | -78/+31 |
| | |||||
* | some drying up of boiler plate initialization and equality code | Nick Kallen | 2008-05-19 | 9 | -71/+55 |
| | |||||
* | drying up some of the code | Nick Kallen | 2008-05-19 | 2 | -39/+16 |
| | |||||
* | some convenience methods | Nick Kallen | 2008-05-19 | 2 | -10/+13 |
| | |||||
* | reorganized file structure | Nick Kallen | 2008-05-19 | 23 | -25/+25 |
| | |||||
* | renamed ion classes | Nick Kallen | 2008-05-19 | 6 | -13/+13 |
| | |||||
* | renamed select operation to where | Nick Kallen | 2008-05-19 | 9 | -35/+35 |
| | |||||
* | can't remember what i was working on | Nick Kallen | 2008-05-18 | 5 | -11/+23 |
| |