Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Add #extract, which produces ANSI SQL function EXTRACT(<field> from <expr>). | Alexander Staubo | 2012-02-23 | 1 | -0/+4 |
| | |||||
* | Support ANSI SQL2003 window functions. | Alexander Staubo | 2012-02-22 | 1 | -0/+54 |
| | |||||
* | added a module for visiting and transforming bind values | Aaron Patterson | 2012-02-21 | 1 | -2/+2 |
| | |||||
* | bind parameters can be differentiated from sql literals | Aaron Patterson | 2012-02-20 | 1 | -0/+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 | 1 | -2/+1 |
| | |||||
* | 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)) | ||||
* | Break Ordering into Ascending/Descending nodes, allow reversal | Ernie Miller | 2011-06-15 | 1 | -2/+6 |
| | |||||
* | do not cache sql literal values | Aaron Patterson | 2011-05-17 | 1 | -1/+2 |
| | |||||
* | 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. | ||||
* | 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 | 1 | -2/+2 |
| | |||||
* | 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 | 1 | -0/+4 |
| | |||||
* | 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 |
| | | |||||
* | | use the cache mechanism in the connection pool rather than our own cache | Aaron Patterson | 2011-02-07 | 1 | -28/+3 |
| | | |||||
* | | adding TOP to sub selects for mssql | Aaron Patterson | 2011-02-02 | 1 | -9/+12 |
|/ | |||||
* | Added support for INTERSECT and EXCEPT | Brian Cardarella | 2011-01-22 | 1 | -0/+8 |
| | |||||
* | WTF, tabs? | Paul Sadauskas | 2011-01-21 | 1 | -17/+17 |
| | |||||
* | WITH expr as array in visitor | Paul Sadauskas | 2011-01-21 | 1 | -2/+2 |
| | |||||
* | Don't need with_recursive | Paul Sadauskas | 2011-01-21 | 1 | -1/+0 |
| | |||||
* | Add support for WITH and UNION | Paul Sadauskas | 2011-01-21 | 1 | -0/+18 |
| | | | | | | PostgreSQL WITH RECURSIVE support Make WITH be a unary node | ||||
* | Added Arel::Nodes::NamedFunction for representing generic SQL functions | Aaron Patterson | 2011-01-04 | 1 | -0/+6 |
| | |||||
* | fisting mergefail | Aaron Patterson | 2011-01-03 | 1 | -4/+0 |
| | |||||
* | Merge branch '2-0-stable' into merge | Aaron Patterson | 2011-01-03 | 1 | -2/+17 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 2-0-stable: updating history Patched Arel v2.0.6 to support MSSQL SQL queries. Based on work of James Abley (https://github.com/jabley/arel). consolidating dot visitor methods refactoring where, fixing subselect implementation for passing a subquery to #in and #not_in tests for passing a subquery to #in and #not_in limit members of the AST are visited quoting limit nodes Conflicts: History.txt lib/arel/nodes.rb lib/arel/nodes/select_core.rb lib/arel/select_manager.rb lib/arel/visitors/to_sql.rb test/visitors/test_to_sql.rb | ||||
| * | Patched Arel v2.0.6 to support MSSQL SQL queries. Based on work of James ↵ | Viacheslav Petrenko | 2011-01-03 | 1 | -2/+13 |
| | | | | | | | | Abley (https://github.com/jabley/arel). | ||||
| * | refactoring where, fixing subselect | Aaron Patterson | 2010-12-07 | 1 | -4/+0 |
| | | |||||
| * | implementation for passing a subquery to #in and #not_in | Sven Fuchs | 2010-12-07 | 1 | -8/+10 |
| | | |||||
| * | quoting limit nodes | Aaron Patterson | 2010-12-07 | 1 | -1/+1 |
| | |