aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Return delete result instead Arel objectEmilio Tagua2009-06-021-2/+0
|
* Allow expressions on literal SQL fragmentsEmilio Tagua2009-05-282-1/+15
|
* Don't quote the table if it isn't a table name. By doing this Arel supports ↵Emilio Tagua2009-05-281-2/+6
| | | | using custom SQL FROM like: edges USE INDEX(unique_edge_index)
* This should be performed by the engine, if it does not exists, then create ↵Emilio Tagua2009-05-281-1/+0
| | | | SQLLiteral not Attribute.
* Merge commit 'brynary/master'Emilio Tagua2009-05-26147-1320/+4342
|\ | | | | | | | | | | | | Conflicts: lib/arel.rb lib/arel/session.rb
| * Adding SqlLiteral with spec for countsBryan Helmkamp2009-05-192-0/+33
| |
| * Expand sql engine CRUD specsBryan Helmkamp2009-05-181-5/+14
| |
| * Log queries to debug.log when running specsBryan Helmkamp2009-05-183-0/+6
| |
| * Better inspect output for ExpressionsBryan Helmkamp2009-05-182-0/+10
| |
| * Ignore debug.logBryan Helmkamp2009-05-181-0/+1
| |
| * Removing unused Pathname extensionBryan Helmkamp2009-05-181-9/+0
| |
| * Expand usages of #hash_on. The #hash definition it produces looks broken, ↵Bryan Helmkamp2009-05-184-14/+26
| | | | | | | | but leaving it for now
| * Cleanup Sql formatters a bitBryan Helmkamp2009-05-181-16/+8
| |
| * Cleaning up Sql::Engine#readBryan Helmkamp2009-05-181-6/+0
| |
| * Remvoing unused variable from specBryan Helmkamp2009-05-181-1/+0
| |
| * Extracting #build_query method for creating SQL from partsBryan Helmkamp2009-05-173-16/+25
| |
| * Refactor #select_sql. Extract methods to generate clausesBryan Helmkamp2009-05-171-7/+27
| |
| * Adding skeleton of spec for CRUD operations in Sql::EngineBryan Helmkamp2009-05-171-0/+36
| |
| * 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-173-6/+21
| | | | | | | | Ascending.new(attribute)
| * Moving SQL predicates spec to correct dirBryan Helmkamp2009-05-171-1/+1
| |
| * Added PostgreSQL to buildBryan Helmkamp2009-05-179-15/+134
| |
| * Removing two unused externalizable? methodsBryan Helmkamp2009-05-172-8/+0
| |
| * Removing unused array extensionsBryan Helmkamp2009-05-172-18/+0
| |
| * Add spec for Attribute#inspectBryan Helmkamp2009-05-171-0/+6
| |
| * Include modules to extend core classes to improve inspectabilityBryan Helmkamp2009-05-1710-84/+134
| |
| * Moving a few stray SQL references in the memory engine codeBryan Helmkamp2009-05-172-15/+14
| |
| * WhitespaceBryan Helmkamp2009-05-1794-243/+243
| |
| * Improve coverage outputBryan Helmkamp2009-05-171-1/+5
| |
| * joining across engines in either directionBryan Helmkamp2009-05-173-13/+40
| | | | | | | | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb
| * initial implementation of cross-engine joinBryan Helmkamp2009-05-179-8/+54
| | | | | | | | | | | | | | Conflicts: lib/arel/engines/memory/relations/array.rb lib/arel/engines/sql/primitives.rb
| * basic implementation of in memory insertionsBryan Helmkamp2009-05-177-4/+49
| | | | | | | | | | | | Conflicts: lib/arel/engines/memory/relations.rb
| * using in memory relations as results from sql relationNick Kallen2009-05-1715-33/+46
| | | | | | | | | | | | | | Conflicts: lib/arel/algebra/primitives/expression.rb lib/arel/algebra/relations/relation.rb
| * 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
| |\