Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | call the columns hash method | Aaron Patterson | 2013-03-14 | 1 | -3/+3 | |
| | ||||||
* | Merge pull request #161 from Noemj/master | Aaron Patterson | 2013-02-05 | 1 | -0/+10 | |
|\ | | | | | Mysql2 prepared statements bind substitution fix | |||||
| * | Fixed the bind param visiting for mysql2 prepared statements case | Noemj | 2013-02-04 | 1 | -0/+10 | |
| | | ||||||
* | | Merge pull request #160 from t0m/issue_99_oracle_optimization | Rafael Mendonça França | 2013-01-31 | 1 | -1/+1 | |
|\ \ | | | | | | | Small change to oracle paging code to trigger stopkey optimization | |||||
| * | | Add oracle paging optimization discussed in issue 99 | tom | 2013-01-08 | 1 | -1/+1 | |
| | | | ||||||
* | | | fixing bind param visiting in the dot visitor | Aaron Patterson | 2013-01-30 | 1 | -1/+1 | |
| |/ |/| | ||||||
* | | Denied the quoting of SqlLiterals | Noemj | 2013-01-29 | 1 | -0/+1 | |
|/ | ||||||
* | avoid extra string objects in the inner join case | Aaron Patterson | 2012-10-15 | 1 | -1/+6 | |
| | ||||||
* | more roflscaling strings in the visitor | Aaron Patterson | 2012-10-12 | 1 | -8/+26 | |
| | ||||||
* | adding some roflscale to the sql visitor | Aaron Patterson | 2012-10-12 | 1 | -13/+96 | |
| | ||||||
* | Merge pull request #140 from sunaku/GH-139 | Aaron Patterson | 2012-09-24 | 1 | -4/+4 | |
|\ | | | | | bugfix: some aggregations lacked DISTINCT emission | |||||
| * | GH-139: some aggregations lacked DISTINCT emission | Suraj N. Kurapati | 2012-09-21 | 1 | -4/+4 | |
| | | ||||||
* | | to_sql: add support for emitting SQL subqueries | Suraj N. Kurapati | 2012-09-22 | 1 | -0/+4 | |
|/ | ||||||
* | Fix in [] to be false, in [] to be true | Ernie Miller | 2012-06-14 | 1 | -2/+10 | |
| | | | | This is in response to discussion on 62207fa | |||||
* | Do not generate NOT IN (NULL) when empty right | Santiago Pastorino | 2012-06-13 | 1 | -1/+1 | |
| | ||||||
* | Adds visit_Arel_Nodes_InfixOperation to Arel::Visitors::DepthFirst | Benedikt Deicke | 2012-03-22 | 1 | -0/+1 | |
| | ||||||
* | 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 | |
| |