Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patch Informix Visitor so that it includes joins | Jordan | 2012-02-29 | 1 | -1/+1 |
| | |||||
* | Add #extract, which produces ANSI SQL function EXTRACT(<field> from <expr>). | Alexander Staubo | 2012-02-23 | 2 | -0/+10 |
| | |||||
* | Support ANSI SQL2003 window functions. | Alexander Staubo | 2012-02-22 | 3 | -0/+75 |
| | |||||
* | added a module for visiting and transforming bind values | Aaron Patterson | 2012-02-21 | 2 | -2/+26 |
| | |||||
* | bind parameters can be differentiated from sql literals | Aaron Patterson | 2012-02-20 | 3 | -0/+3 |
| | |||||
* | Oracle limit and offset issue when query is ordered, issue #99 solved. | babinho | 2012-02-17 | 1 | -2/+1 |
| | |||||
* | bumping to 3.0.0 | Aaron Patterson | 2012-01-12 | 1 | -1/+1 |
| | |||||
* | Ensure @last_column is cleared after visiting object | Norman Clarke | 2012-01-07 | 1 | -1/+1 |
| | |||||
* | calling cache methods against the connection | Aaron Patterson | 2011-11-19 | 1 | -18/+12 |
| | |||||
* | Support locking by default and disable it only for SQLite. | Edgars Beigarts | 2011-08-26 | 5 | -13/+6 |
| | |||||
* | Support locking in Oracle | Edgars Beigarts | 2011-08-26 | 1 | -0/+4 |
| | |||||
* | Make it the responsibility of the connection to hold on to a visitor for ↵ | Jon Leighton | 2011-08-08 | 1 | -4/+2 |
| | | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.) | ||||
* | Support update statements containing joins | Jon Leighton | 2011-08-08 | 1 | -4/+1 |
| | |||||
* | Add nodes for boolean constants | Daniel Cadenas | 2011-08-03 | 1 | -0/+8 |
| | | | | | | | | | | | | This is useful for dynamically created predicates e.g: expr1 = table.create_false expr2 = table.create_false expr1 = create_a_predicate() if some_condition expr2 = create_another_predicate() if some_other_condition table.where(expr1.and(expr2)) | ||||
* | Merge pull request #69 from thedarkone/oracle-order-by-update | Aaron Patterson | 2011-07-26 | 1 | -0/+12 |
|\ | | | | | Oracle does not allow ORDER BY/LIMIT in UPDATE queries | ||||
| * | Oracle does not allow ORDER BY/LIMIT in UPDATE queries. | thedarkone | 2011-07-26 | 1 | -0/+12 |
| | | |||||
* | | supressing nested parenthesis in multiple unions on mysql. thanks jhtwong. ↵ | Aaron Patterson | 2011-07-20 | 1 | -0/+22 |
| | | | | | | | | fixes #58 | ||||
* | | fix depth first visitor to support ascending and descending nodes | Aaron Patterson | 2011-06-29 | 1 | -0/+2 |
| | | |||||
* | | Merge branch 'master' into Khronos/master | Aaron Patterson | 2011-06-27 | 5 | -18/+76 |
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: visitors can define their own cache strategy for dispatch. fixes #57 Break Ordering into Ascending/Descending nodes, allow reversal remove unnecessary guarding agains literal LIMIT and OFFSET support for MS SQL Include Arel::Predicates to Arel::Nodes::Function so you can do table[:id].count.eq(2) updating spec zomg prep release make sure thread runs do not cache sql literal values no longer use this instance variable | ||||
| * | | visitors can define their own cache strategy for dispatch. fixes #57 | Aaron Patterson | 2011-06-27 | 1 | -4/+8 |
| | | | |||||
| * | | Merge pull request #60 from arkadiyk/master | Aaron Patterson | 2011-06-24 | 1 | -9/+59 |
| |\ \ | | | | | | | | | Better support for MSSQL | ||||
| | * | | remove unnecessary guarding agains literal | arkadiy kraportov | 2011-06-10 | 1 | -10/+0 |
| | | | | |||||
| | * | | LIMIT and OFFSET support for MS SQL | arkadiy kraportov | 2011-06-09 | 1 | -9/+69 |
| | |/ | |||||
| * / | Break Ordering into Ascending/Descending nodes, allow reversal | Ernie Miller | 2011-06-15 | 3 | -4/+7 |
| |/ | |||||
| * | do not cache sql literal values | Aaron Patterson | 2011-05-17 | 1 | -1/+2 |
| | | |||||
* | | Removed some old dev code | Martin Little | 2011-05-16 | 1 | -7/+0 |
| | | |||||
* | | Added initial informix visitor support | Martin Little | 2011-05-16 | 1 | -0/+40 |
|/ | |||||
* | refactoring to a method | Aaron Patterson | 2011-05-10 | 1 | -3/+11 |
| | |||||
* | Make ToSql more thread safe. | Damon McCormick + Cameron Walters | 2011-05-10 | 1 | -5/+4 |
| | | | | | | | Because the ToSql visitor instance is shared across all threads, there is a race condition around column types for binary nodes. It's possible, for instance, to end up with ActiveRecord converting a string value in the final SQL to an integer during heavy concurrent operations. | ||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-04-29 | 1 | -0/+12 |
|\ | | | | | | | | | | | * 'master' of github.com:rails/arel: replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db Generate more sqlish queue. | ||||
| * | replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db | Shane Emmons | 2011-04-29 | 1 | -0/+12 |
| | | |||||
* | | removing the aliased orders method from the pg visitor | Aaron Patterson | 2011-04-28 | 1 | -13/+0 |
|/ | |||||
* | raising not implemented exceptions for distinct on where it is not supported | Aaron Patterson | 2011-04-21 | 1 | -0/+4 |
| | |||||
* | adding Distinct ON node | Aaron Patterson | 2011-04-21 | 2 | -27/+4 |
| | |||||
* | adding a DISTINCT node | Aaron Patterson | 2011-04-21 | 1 | -0/+5 |
| | |||||
* | adding a Bin node to emit mysql BINARY keywords | Aaron Patterson | 2011-04-11 | 2 | -0/+8 |
| | |||||
* | use TableAlias nodes for aliasing subselects | Aaron Patterson | 2011-03-30 | 1 | -1/+1 |
| | |||||
* | allowing sql literals for values in insert statements | Aaron Patterson | 2011-03-21 | 1 | -1/+5 |
| | |||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-03-21 | 1 | -13/+6 |
|\ | | | | | | | | | | | * 'master' of github.com:rails/arel: Make as factory method convert alias name to SqlLiteral Replace MathOperation with InfixOperation to support more operators | ||||
| * | Replace MathOperation with InfixOperation to support more operators | Ernie Miller | 2011-03-09 | 1 | -13/+6 |
| | | |||||
* | | Fixes rails bug #6058. | Hugo Peixoto | 2011-03-21 | 1 | -0/+1 |
|/ | | | | Propagates 'where' clauses when subquerying is triggered on the UpdateManager. | ||||
* | Merge branch 'master' of github.com:rails/arel | Aaron Patterson | 2011-03-07 | 1 | -1/+1 |
|\ | | | | | | | | | * 'master' of github.com:rails/arel: Add an #table_name method to Table and TableAlias, which always returns the actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect). | ||||
| * | Add an #table_name method to Table and TableAlias, which always returns the ↵ | Jon Leighton | 2011-03-04 | 1 | -1/+1 |
| | | | | | | | | actual table name, not the alias. Then fix ToSql#column_for to use this table name when checking whether the table exists (rather than before, where it was checking whether a table with the alias name exists, which was incorrect). | ||||
* | | Merge remote branch 'stiff/master' into omg | Aaron Patterson | 2011-03-07 | 1 | -0/+16 |
|\ \ | |/ |/| | | | | | * stiff/master: implemented support for math operations in numeric attributes | ||||
| * | implemented support for math operations in numeric attributes | Vladimir Meremyanin | 2011-01-29 | 1 | -0/+16 |
| | | |||||
* | | refactoring custom lock logic to use sql literals | Aaron Patterson | 2011-02-21 | 2 | -10/+2 |
| | | |||||
* | | Lock should be a unary node | Aaron Patterson | 2011-02-21 | 2 | -4/+4 |
| | | |||||
* | | Merge remote branch 'jstorimer/master' into omg | Aaron Patterson | 2011-02-21 | 2 | -2/+10 |
|\ \ | | | | | | | | | | | | | * jstorimer/master: Allow database specific locking clauses to be used | ||||
| * | | Allow database specific locking clauses to be used | Jesse Storimer | 2011-01-20 | 2 | -2/+10 |
| | | | |||||
* | | | use the cache mechanism in the connection pool rather than our own cache | Aaron Patterson | 2011-02-07 | 1 | -28/+3 |
| | | |