Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added attribute.eq(nil) | Nick Kallen | 2008-03-16 | 1 | -1/+1 |
| | | | | - produces attribute IS NULL | ||||
* | allowing string passthrough for order clauses | Nick Kallen | 2008-03-16 | 1 | -7/+7 |
| | |||||
* | added support for `attribute IN ...` and `attribute BETWEEN ...` | Nick Kallen | 2008-03-16 | 2 | -0/+6 |
| | | | | | - IN and BETWEEN are chosen depending on the type of the second operand - ranges (1..2), arrays ([1,2,3]), and relations ("SELECT * ...") are all supported | ||||
* | renamed operators | Nick Kallen | 2008-03-16 | 1 | -5/+5 |
| | | | | | | - equals / eq - greater_than / gt - etc. | ||||
* | renamed strategy to formatter | Nick Kallen | 2008-03-16 | 3 | -7/+7 |
| | |||||
* | properly quoting array values | Nick Kallen | 2008-03-16 | 1 | -2/+2 |
| | |||||
* | renamed sql formatting strategies to correspond with sql grammar rule names ↵ | Nick Kallen | 2008-03-13 | 2 | -2/+2 |
| | | | | in the mysql bnf | ||||
* | - renamed scalar to value | Nick Kallen | 2008-03-12 | 1 | -3/+3 |
| | | | | - added better test coverage and documentation of binary spec #to_sql | ||||
* | renamed strategy method to format | Nick Kallen | 2008-03-11 | 2 | -5/+9 |
| | | | | | | - strategy (the method on scalar and attribute) is a complex double-dispatching scheme to format (to_sql) a scalar in the light of the particular attribute; that is, it casts strings to integers if the column is int, etc. | ||||
* | implemented hashing macro; implemented custom matcher testing this macro | Nick Kallen | 2008-03-11 | 1 | -4/+1 |
| | |||||
* | scalars are now lifted; the heavy lifting is done by the operations on ↵ | Nick Kallen | 2008-03-02 | 1 | -0/+25 |
| | | | | relation (select, join, etc.) | ||||
* | introduced engine dependency for sql strategies | Nick Kallen | 2008-03-02 | 1 | -0/+1 |
| | | | | - hacked in default engine for scalars -- BAD | ||||
* | new concept of session boundaries | Nick Kallen | 2008-03-02 | 1 | -4/+1 |
| | |||||
* | quoting issues | Nick Kallen | 2008-02-24 | 2 | -6/+14 |
| | |||||
* | organized congruence stuff in attribute | Nick Kallen | 2008-02-16 | 2 | -12/+19 |
| | |||||
* | attribute is now a concrete ancestor of expression. seems logical. | Nick Kallen | 2008-02-16 | 2 | -24/+17 |
| | |||||
* | rename substitute to bind since it 'binds' an object to a new relation. | Nick Kallen | 2008-02-11 | 2 | -3/+3 |
| | |||||
* | removing code complexity concerning attribute lookup. | Nick Kallen | 2008-02-11 | 2 | -5/+8 |
| | |||||
* | cleaning up code and adding test coverage for attribute and expression. | Nick Kallen | 2008-02-04 | 2 | -12/+20 |
| | |||||
* | this is very messy but it is finally close to feature-complete | Nick Kallen | 2008-02-03 | 2 | -8/+71 |
| | |||||
* | i know it doesn't work but need to anchor here... | Nick Kallen | 2008-02-03 | 2 | -42/+7 |
| | |||||
* | completed initial functionality for joining with aggregation (the meaning of ↵ | Nick Kallen | 2008-01-21 | 2 | -7/+25 |
| | | | | which is joining on a subselect/derived table); the big change is the introduction of a #projections protected method; this is a private version of #attributes which preserves implementation information (e.g., the name of the function called) | ||||
* | adding grouping functionality; added some dummy code ("Schmoin") for ↵ | Nick Kallen | 2008-01-16 | 2 | -7/+18 |
| | | | | experimenting with aggregate joins. need to resolve the ambiguity in the #as operator between (SELECT * FROM foo AS bar) vs. (SELECT * FROM foo) AS bar | ||||
* | Remove ActiveRelation sub-modules and refactor specs | Bryan Helmkamp | 2008-01-14 | 2 | -84/+78 |
| | |||||
* | experimenting with strategy pattern rather than conditional; not as terse, ↵ | Nick Kallen | 2008-01-13 | 2 | -8/+4 |
| | | | | nor transparent, but i still feel it's better | ||||
* | removed support for scalar select (will return later); added support for ↵ | Nick Kallen | 2008-01-13 | 1 | -2/+2 |
| | | | | aliased tables | ||||
* | experimenting with new aliasing terminology and interface | Nick Kallen | 2008-01-12 | 1 | -1/+1 |
| | |||||
* | aliasing of relations | Nick Kallen | 2008-01-12 | 1 | -3/+3 |
| | |||||
* | bug with aggregation to_Sql | Nick Kallen | 2008-01-12 | 1 | -1/+1 |
| | |||||
* | added aggregations | Nick Kallen | 2008-01-12 | 2 | -0/+106 |