Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | changes for Oracle support - OracleCompiler and corresponding tests with ↵ | Raimonds Simanovskis | 2010-03-01 | 26 | -63/+638 |
| | | | | Oracle syntax | ||||
* | Added support for RETURNING primary key when available, only for | Emilio Tagua | 2010-02-18 | 1 | -1/+12 |
| | | | | PostgreSQL. | ||||
* | Fix test which depends on the RUBY_VERSION when using sqlite3 adapter. | Emilio Tagua | 2010-02-17 | 1 | -1/+5 |
| | |||||
* | Quoting every part of a Range. Calling .to_s is not enough for Range with ↵ | Eugene Pimenov | 2010-02-01 | 2 | -2/+26 |
| | | | | two Time objects. | ||||
* | Fix the generated SQL when In predicate is supplied an empty Array | Pratik Naik | 2010-01-30 | 1 | -0/+19 |
| | |||||
* | Make sure string join relations can be chained | Pratik Naik | 2010-01-13 | 1 | -1/+30 |
| | |||||
* | Make sure not to use alias if it's same as the table name | Pratik Naik | 2010-01-12 | 1 | -0/+19 |
| | |||||
* | Add support for table aliasing | Pratik Naik | 2010-01-01 | 2 | -2/+74 |
| | | | | | | | Example : users = Table(:users, :as => :accounts) users.to_sql => SELECT `accounts`.`id`, `accounts`.`name` FROM `users` AS `accounts` | ||||
* | Added having to use in combination with group to filter records. | Emilio Tagua | 2009-12-28 | 1 | -0/+36 |
| | |||||
* | Don't try to lock reads when using any SQLite adapter, it's redundant | Emilio Tagua | 2009-12-28 | 1 | -2/+16 |
| | | | | and may generate an invalid query. | ||||
* | Added lock to Arel, allowing a locking read if required. | Emilio Tagua | 2009-12-27 | 1 | -0/+47 |
| | |||||
* | Added "from" method, allowing to specify custom from clauses. | Emilio Tagua | 2009-12-27 | 1 | -0/+50 |
| | |||||
* | Ruby 1.9: Improve the way we spec this | Bryan Helmkamp | 2009-11-09 | 1 | -2/+2 |
| | |||||
* | Switch from rr to RSpec mocks. rr has issues on 1.9.2pre | Bryan Helmkamp | 2009-11-09 | 3 | -10/+10 |
| | |||||
* | Ruby 1.9: the constants must be qualified | Bryan Helmkamp | 2009-11-09 | 6 | -10/+10 |
| | |||||
* | Create Predicates module to match directory structure | Bryan Helmkamp | 2009-09-30 | 9 | -260/+274 |
| | |||||
* | Fix almost all Ruby warnings during spec suite | Bryan Helmkamp | 2009-09-20 | 6 | -15/+14 |
| | |||||
* | Whitespace | Bryan Helmkamp | 2009-09-20 | 2 | -3/+3 |
| | |||||
* | Merge remote branch 'miloops/master' into miloops | Bryan Helmkamp | 2009-09-20 | 53 | -69/+86 |
|\ | | | | | | | | | | | | | Conflicts: spec/connections/mysql_connection.rb spec/connections/postgresql_connection.rb spec/connections/sqlite3_connection.rb | ||||
| * | Use load path rather than relative path for spec_helper requires. Also fixes ↵ | Jeremy Kemper | 2009-09-14 | 53 | -53/+53 |
| | | | | | | | | specs on Ruby 1.9 since . is no longer in the load path. | ||||
| * | Allow SQL strings to insert query. Insert should better return engine's result. | Emilio Tagua | 2009-07-01 | 2 | -10/+9 |
| | | |||||
| * | Build valid SQL query for SQLite3 and PostgreSQL when updating records with ↵ | Emilio Tagua | 2009-06-23 | 1 | -6/+12 |
| | | | | | | | | limited conditions | ||||
| * | Allow expressions on literal SQL fragments | Emilio Tagua | 2009-05-28 | 1 | -0/+12 |
| | | |||||
* | | Bug fix: Don't use #delegate to declare delegations when intentionally ↵ | Lee Bankewitz | 2009-08-10 | 1 | -0/+15 |
|/ | | | | | | delegating to nil This accounts for a behavior change after Rails 2.3 | ||||
* | Adding SqlLiteral with spec for counts | Bryan Helmkamp | 2009-05-19 | 1 | -0/+23 |
| | |||||
* | Expand sql engine CRUD specs | Bryan Helmkamp | 2009-05-18 | 1 | -5/+14 |
| | |||||
* | Better inspect output for Expressions | Bryan Helmkamp | 2009-05-18 | 1 | -0/+6 |
| | |||||
* | Remvoing unused variable from spec | Bryan Helmkamp | 2009-05-18 | 1 | -1/+0 |
| | |||||
* | Adding skeleton of spec for CRUD operations in Sql::Engine | Bryan Helmkamp | 2009-05-17 | 1 | -0/+36 |
| | |||||
* | Fix bug in Order equality where Descending.new(attribute) was == ↵ | Bryan Helmkamp | 2009-05-17 | 2 | -2/+12 |
| | | | | Ascending.new(attribute) | ||||
* | Moving SQL predicates spec to correct dir | Bryan Helmkamp | 2009-05-17 | 1 | -1/+1 |
| | |||||
* | Added PostgreSQL to build | Bryan Helmkamp | 2009-05-17 | 5 | -12/+89 |
| | |||||
* | Add spec for Attribute#inspect | Bryan Helmkamp | 2009-05-17 | 1 | -0/+6 |
| | |||||
* | Whitespace | Bryan Helmkamp | 2009-05-17 | 39 | -128/+128 |
| | |||||
* | joining across engines in either direction | Bryan Helmkamp | 2009-05-17 | 1 | -11/+28 |
| | | | | | | Conflicts: spec/arel/engines/memory/integration/joins/cross_engine_spec.rb | ||||
* | initial implementation of cross-engine join | Bryan Helmkamp | 2009-05-17 | 1 | -0/+31 |
| | | | | | | | 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 | 1 | -0/+28 |
| | | | | | | Conflicts: lib/arel/engines/memory/relations.rb | ||||
* | using in memory relations as results from sql relation | Nick Kallen | 2009-05-17 | 3 | -8/+16 |
| | | | | | | | Conflicts: lib/arel/algebra/primitives/expression.rb lib/arel/algebra/relations/relation.rb | ||||
* | performing in memory joins | Nick Kallen | 2009-05-17 | 1 | -0/+32 |
| | |||||
* | better test ordering | Bryan Helmkamp | 2009-05-17 | 6 | -86/+145 |
| | | | | | | Conflicts: doc/TODO | ||||
* | recursive memory operations now possible | Bryan Helmkamp | 2009-05-17 | 1 | -26/+57 |
| | | | | | | Conflicts: lib/arel/algebra/relations/relation.rb | ||||
* | removed duplicates from sql tests | Bryan Helmkamp | 2009-05-17 | 13 | -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 tests | Nick Kallen | 2009-05-17 | 44 | -24/+790 |
| | |||||
* | most in memory operations save join and group | Bryan Helmkamp | 2009-05-17 | 3 | -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 adapter | Bryan Helmkamp | 2009-05-17 | 2 | -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 polymorphism | Bryan Helmkamp | 2009-05-17 | 2 | -9/+9 |
| | | | | | | | | 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 | 1 | -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 structures | Bryan Helmkamp | 2009-05-17 | 4 | -5/+12 |
| | | | | | | | | | | 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 | 3 | -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 call | Bryan Helmkamp | 2009-05-17 | 6 | -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 |