aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add nodes for boolean constantsDaniel Cadenas2011-08-038-1/+78
| | | | | | | | | | | | 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 branch 'master' of github.com:rails/arelAaron Patterson2011-07-271-0/+12
|\ | | | | | | | | * 'master' of github.com:rails/arel: Oracle does not allow ORDER BY/LIMIT in UPDATE queries.
| * Merge pull request #69 from thedarkone/oracle-order-by-updateAaron Patterson2011-07-261-0/+12
| |\ | | | | | | Oracle does not allow ORDER BY/LIMIT in UPDATE queries
| | * Oracle does not allow ORDER BY/LIMIT in UPDATE queries.thedarkone2011-07-261-0/+12
| | |
* | | prepping for 2.1.4 releaseAaron Patterson2011-07-253-19/+20
|/ /
* | oops, forgot sourceAaron Patterson2011-07-201-0/+2
| |
* | adding GemfileAaron Patterson2011-07-201-0/+2
| |
* | supressing nested parenthesis in multiple unions on mysql. thanks jhtwong. ↵Aaron Patterson2011-07-203-0/+33
| | | | | | | | fixes #58
* | fix depth first visitor to support ascending and descending nodesAaron Patterson2011-06-293-0/+17
| |
* | generating a specAaron Patterson2011-06-271-2/+2
| |
* | fixing broken gem buildAaron Patterson2011-06-272-2/+8
| |
* | fixing manifestAaron Patterson2011-06-271-0/+7
| |
* | bumping specAaron Patterson2011-06-271-11/+11
| |
* | version bumpAaron Patterson2011-06-271-1/+1
| |
* | updating history fileAaron Patterson2011-06-271-0/+3
| |
* | Merge branch 'master' into Khronos/masterAaron Patterson2011-06-2726-68/+299
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 #57Aaron Patterson2011-06-273-4/+31
| | |
| * | Merge pull request #60 from arkadiyk/masterAaron Patterson2011-06-242-17/+106
| |\ \ | | | | | | | | Better support for MSSQL
| | * | remove unnecessary guarding agains literalarkadiy kraportov2011-06-102-18/+0
| | | |
| | * | LIMIT and OFFSET support for MS SQLarkadiy kraportov2011-06-092-17/+124
| | |/
| * | Merge pull request #64 from ernie/reverse_orderingAaron Patterson2011-06-2115-30/+135
| |\ \ | | |/ | |/| Allow reversal of orderings
| | * Break Ordering into Ascending/Descending nodes, allow reversalErnie Miller2011-06-1515-30/+135
| |/
| * Merge pull request #55 from samuelkadolph/add_predicates_to_function_nodeAaron Patterson2011-05-273-2/+10
| |\ | | | | | | Include Arel::Predicates to Arel::Nodes::Function
| | * Include Arel::Predicates to Arel::Nodes::Function so you can do ↵Samuel Kadolph2011-05-273-2/+10
| |/ | | | | | | table[:id].count.eq(2)
| * updating specAaron Patterson2011-05-181-10/+10
| |
| * zomg prep releaseAaron Patterson2011-05-172-2/+2
| |
| * make sure thread runsAaron Patterson2011-05-171-0/+1
| |
| * do not cache sql literal valuesAaron Patterson2011-05-172-2/+3
| |
| * no longer use this instance variableAaron Patterson2011-05-171-1/+1
| |
* | Added an additional test since skip/limit can not be used in reverse orderMartin Little2011-05-161-0/+8
| |
* | Removed some old dev codeMartin Little2011-05-161-7/+0
| |
* | Added a basic test for the informix visitorMartin Little2011-05-162-0/+36
| |
* | Added initial informix visitor supportMartin Little2011-05-161-0/+40
|/
* refactoring to a methodAaron Patterson2011-05-101-3/+11
|
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-05-102-5/+21
|\ | | | | | | | | * 'master' of github.com:rails/arel: Make ToSql more thread safe.
| * Merge pull request #51 from square/thread-safetyAaron Patterson2011-05-102-5/+21
| |\ | | | | | | Make ToSql more thread safe.
| | * Make ToSql more thread safe.Damon McCormick + Cameron Walters2011-05-102-5/+21
| |/ | | | | | | | | | | | | 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.
* / updating HistoryAaron Patterson2011-05-101-0/+7
|/
* Merge pull request #50 from ernie/operation_ordering.Aaron Patterson2011-05-022-0/+31
|\ | | | | InfixOperations should support ordering
| * InfixOperations are valid value expressions per SQL99 BNF, andErnie Miller2011-05-022-0/+31
|/ | | | should support ordering
* fixing specAaron Patterson2011-04-301-3/+3
|
* increasing version to 2.1.0Aaron Patterson2011-04-301-1/+1
|
* merging old history, adding release dateAaron Patterson2011-04-301-2/+20
|
* Merged pull request #48 from ernie/down_with_to_s.Aaron Patterson2011-04-294-7/+7
|\ | | | | Stop calling to_s on aliases, require them to be strings already.
| * Stop calling to_s on aliases, require them to be strings already.Ernie Miller2011-04-294-7/+7
| |
* | updating manifest and specAaron Patterson2011-04-292-4/+8
|/
* Move #as to AliasPredication, stop overriding Function's #as.Ernie Miller2011-04-299-9/+33
|
* Revert "Merged pull request #40 from gmile/master."Aaron Patterson2011-04-291-11/+1
| | | | | This reverts commit 490d6f98f8974c717ddca29df162f5f1ad48e094, reversing changes made to dd07005dceb6641214f7d1166f75acbd379fb570.
* Merge branch 'master' of github.com:rails/arelAaron Patterson2011-04-294-1/+52
|\ | | | | | | | | | | * 'master' of github.com:rails/arel: replace 'LIMIT n' with 'FETCH FIRST n ROWS ONLY' when using ibm_db Generate more sqlish queue.
| * Merged pull request #40 from gmile/master.Aaron Patterson2011-04-291-1/+11
| |\ | | | | | | Passing nil in array generates improper SQL