Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove `engine` from `TreeManager` and subclasses | Sean Griffin | 2014-11-29 | 2 | -2/+2 |
| | | | | | | This constructor parameter was unused for everything except the convenience methods `to_sql` and `where_sql`. We can pass the engine into those methods directly. | ||||
* | Add order to BindParams in the ToSql collector | Sean Griffin | 2014-11-17 | 2 | -5/+5 |
| | | | | | | | | | | | | 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. | ||||
* | Fix warning form bind collector test | Vipul A M | 2014-05-25 | 1 | -1/+1 |
| | |||||
* | add test for sql string collector | Aaron Patterson | 2014-04-09 | 1 | -0/+38 |
| | |||||
* | add a compile method to the collectors | Aaron Patterson | 2014-04-09 | 1 | -0/+8 |
| | |||||
* | adding a bind value collector | Aaron Patterson | 2014-04-09 | 1 | -0/+62 |