aboutsummaryrefslogtreecommitdiffstats
path: root/test/visitors/test_oracle.rb
Commit message (Collapse)AuthorAgeFilesLines
* Fix test failuresSean Griffin2017-07-241-4/+4
|
* Add a value field `Nodes::BindParam`Sean Griffin2017-07-211-4/+4
| | | | | | | | | | | | | | | | | | | | This is part of a greater refactoring to have the `BindParam` nodes hold onto their values. We want to generally keep the AST decoupled from what you're actually doing with those values, but ultimately the usage of `BindParam` is almost identical to how you'd use `Casted` or `Quoted`. Forcing consumers of Arel's API to maintain the bind values separately from the AST makes manipulating the AST essentially impossible, as you would need to perform a full walk of the AST to determine whether a given node contains bind parameters, and which value it maps to. By storing the value on the bind parameter directly, we can collect them in another AST pass (realistically it'll be part of the same pass that performs SQL construction for performance reasons). This will dramatically simplify AST manipulation for Rails or any other consumers that work with bind params. As part of this change I've removed the `BindVisitor`, which appears to be dead code, and had tests break from this change.
* Enable frozen_string_literal in all files in arelRafael Mendonça França2017-02-131-0/+1
|
* Fix issue #438 when oracle visitor gets BindParamsRodrigo Castro2016-10-071-1/+15
|
* Follow up #370 for Oracle, to fix undefined method `expr' for 10:Fixnum bug.Eric Guo2015-07-141-2/+2
|
* Support Oracle bind parameter valueYasuo Honda2014-11-201-1/+12
|
* Wrap group_by sql with a subquery for limiting rows in Oracle.Chris Dinger2014-09-161-0/+10
| | | | Fixes #128
* Support to add the casting node to the AST at build timeYasuo Honda2014-05-051-2/+2
| | | | Ref https://github.com/rails/arel/commit/93d72131bcc24ccb5536bec672d2dac94f8de651
* oracle tests passingAaron Patterson2014-04-081-19/+23
|
* Support `columns_for_distinct`Yasuo Honda2013-10-141-1/+2
|
* Update test_oracle.rbEduardo Mourao2013-03-151-1/+2
|
* Add oracle paging optimization discussed in issue 99tom2013-01-081-1/+1
|
* Oracle limit and offset issue when query is ordered, issue #99 solved.babinho2012-02-171-2/+1
|
* Support locking in OracleEdgars Beigarts2011-08-261-0/+7
|
* Make it the responsibility of the connection to hold on to a visitor for ↵Jon Leighton2011-08-081-1/+1
| | | | generating SQL, rather than the TreeManager. (There is a related commit coming in Active Record.)
* adding Distinct ON nodeAaron Patterson2011-04-211-2/+2
|
* Added MINUS for OracleBrian Cardarella2011-01-231-0/+9
| | | | Aliased :minus to :except for the SelectManager
* fixing tests for oracle visitorAaron Patterson2011-01-031-6/+6
|
* fix one more time order_hacks method for OracleRaimonds Simanovskis2010-11-161-0/+12
| | | correctly split order string by commas ignoring commas which separate function arguments
* generate correct select if only offset is present (in Oracle)Raimonds Simanovskis2010-10-211-0/+16
|
* renaming test_helper to helper so that it is not double requiredAaron Patterson2010-10-181-1/+1
|
* got rid of retarded check method. down with rspecRyan Davis2010-10-181-3/+3
|
* Renamed spec_helper to test_helperRyan Davis2010-10-181-1/+1
|
* Fisting arel specs -- still needs tree_manager and cleanupRyan Davis2010-10-181-0/+111