Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add order to BindParams in the ToSql collector | Sean Griffin | 2014-11-17 | 1 | -2/+2 |
| | | | | | | | | | | | | This removes the need for us to do the re-ordering by walking the AST in ActiveRecord. We're using a block to communicate with the collector, since the collector needs to be the thing which knows about the index, while the visitor is the thing that needs to know the syntax. The BindParam needs to know about neither of these things, so it's been changed to stop being a subclass of SqlLiteral I could also see an alternative implementation using format strings if for some reason blocks cause a problem. | ||||
* | move the dispatch table to be per-instance | Aaron Patterson | 2014-09-22 | 1 | -6/+0 |
| | | | | | | | visitors are not shared among threads, so any mutations to the cache should be OK. The cache is also pre-populated on construction, but we should pull that out so we can share the cache among visitors in the future. | ||||
* | make the bindvalue visitor backwards compatible | Aaron Patterson | 2014-04-09 | 1 | -3/+3 |
| | |||||
* | fixing bind value tests | Aaron Patterson | 2014-04-08 | 1 | -5/+3 |
| | |||||
* | bind visitor working with collector object | Aaron Patterson | 2014-04-08 | 1 | -6/+16 |
| | |||||
* | Bump minitest to 5.1. | Vipul A M | 2014-01-04 | 1 | -1/+1 |
| | |||||
* | Added unit test for the mysql2 bind substitution | Noemj | 2013-02-05 | 1 | -1/+20 |
| | |||||
* | added a module for visiting and transforming bind values | Aaron Patterson | 2012-02-21 | 1 | -0/+39 |