Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | moved bind to factory of select | Nick Kallen | 2008-04-11 | 2 | -4/+8 |
| | |||||
* | added attribute.eq(nil) | Nick Kallen | 2008-03-16 | 1 | -2/+24 |
| | | | | - produces attribute IS NULL | ||||
* | test organization | Nick Kallen | 2008-03-16 | 1 | -4/+4 |
| | |||||
* | projections now support string passthrough | Nick Kallen | 2008-03-16 | 1 | -9/+29 |
| | | | | - there is a weird inconsistency in where bind is called on values; this needs to be resolved | ||||
* | nested orderings | Nick Kallen | 2008-03-16 | 1 | -0/+26 |
| | |||||
* | allowing string passthrough for order clauses | Nick Kallen | 2008-03-16 | 3 | -30/+71 |
| | |||||
* | added support for `attribute IN ...` and `attribute BETWEEN ...` | Nick Kallen | 2008-03-16 | 4 | -46/+82 |
| | | | | | - 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 | 5 | -19/+19 |
| | | | | | | - equals / eq - greater_than / gt - etc. | ||||
* | formatting insert and update statements | Nick Kallen | 2008-03-16 | 3 | -30/+104 |
| | | | | - values need to be coerced to the type corresponding to the column | ||||
* | properly quoting array values | Nick Kallen | 2008-03-16 | 3 | -14/+29 |
| | |||||
* | added abstract declaration | Nick Kallen | 2008-03-13 | 1 | -8/+0 |
| | |||||
* | - renamed scalar to value | Nick Kallen | 2008-03-12 | 5 | -46/+82 |
| | | | | - added better test coverage and documentation of binary spec #to_sql | ||||
* | test coverage of #prefix_for on join. | Nick Kallen | 2008-03-12 | 7 | -9/+35 |
| | | | | | - it delegates to the relation containing the attribute - if the relation containing the attribute is an alias, it returns the alias | ||||
* | more inadequate tests | Nick Kallen | 2008-03-12 | 2 | -9/+12 |
| | |||||
* | pending tests. | Nick Kallen | 2008-03-12 | 2 | -3/+8 |
| | | | | better coverage though i dislike the strategy | ||||
* | refactored session's interaction with engine/connection | Nick Kallen | 2008-03-11 | 6 | -12/+45 |
| | | | | | - follows law of demeter - Table.engine uses AR::Base adapter | ||||
* | implemented hashing macro; implemented custom matcher testing this macro | Nick Kallen | 2008-03-11 | 4 | -4/+36 |
| | |||||
* | basic functionality for simplest active record find(id) | Nick Kallen | 2008-03-05 | 1 | -0/+6 |
| | | | | - messy code, to be cleaned up this weekend | ||||
* | scalars are now lifted; the heavy lifting is done by the operations on ↵ | Nick Kallen | 2008-03-02 | 8 | -27/+30 |
| | | | | relation (select, join, etc.) | ||||
* | introduced engine dependency for sql strategies | Nick Kallen | 2008-03-02 | 5 | -5/+31 |
| | | | | - hacked in default engine for scalars -- BAD | ||||
* | new concept of session boundaries | Nick Kallen | 2008-03-02 | 15 | -58/+109 |
| | |||||
* | quoting issues | Nick Kallen | 2008-02-24 | 6 | -279/+35 |
| | |||||
* | Introduced concept of session. It does not yet support multiple databases, ↵ | Nick Kallen | 2008-02-23 | 6 | -43/+100 |
| | | | | nor transactions, but it's a start! | ||||
* | updating functionality | Nick Kallen | 2008-02-23 | 1 | -0/+27 |
| | |||||
* | organizing tests into unit/integration | Nick Kallen | 2008-02-23 | 17 | -17/+17 |
| | |||||
* | extracted conditionals concerning the "externalizing" of relations under a join. | Nick Kallen | 2008-02-18 | 2 | -15/+2 |
| | |||||
* | made descend public; added test coverage for it; tests for qualify are now ↵ | Nick Kallen | 2008-02-18 | 7 | -13/+53 |
| | | | | in terms of descend | ||||
* | adding support for scalar selects | Nick Kallen | 2008-02-16 | 2 | -1/+7 |
| | |||||
* | cleanup | Nick Kallen | 2008-02-16 | 6 | -61/+83 |
| | |||||
* | organized congruence stuff in attribute | Nick Kallen | 2008-02-16 | 1 | -7/+9 |
| | |||||
* | more test coverage | Nick Kallen | 2008-02-16 | 3 | -39/+59 |
| | |||||
* | white box testing | Nick Kallen | 2008-02-16 | 1 | -17/+0 |
| | |||||
* | attribute is now a concrete ancestor of expression. seems logical. | Nick Kallen | 2008-02-16 | 2 | -1/+7 |
| | |||||
* | removing unneccessary tests now that attribute lookup is so simple | Nick Kallen | 2008-02-11 | 7 | -117/+29 |
| | |||||
* | rename substitute to bind since it 'binds' an object to a new relation. | Nick Kallen | 2008-02-11 | 6 | -30/+30 |
| | |||||
* | removing code complexity concerning attribute lookup. | Nick Kallen | 2008-02-11 | 7 | -60/+56 |
| | |||||
* | nk - missing file? | Nick Kallen | 2008-02-04 | 1 | -1/+13 |
| | |||||
* | cleaning up code and adding test coverage for attribute and expression. | Nick Kallen | 2008-02-04 | 5 | -55/+127 |
| | |||||
* | this is very messy but it is finally close to feature-complete | Nick Kallen | 2008-02-03 | 5 | -52/+59 |
| | |||||
* | i know it doesn't work but need to anchor here... | Nick Kallen | 2008-02-03 | 12 | -185/+175 |
| | |||||
* | cleanup | Nick Kallen | 2008-01-27 | 2 | -11/+14 |
| | |||||
* | filling out some pending specs | Nick Kallen | 2008-01-21 | 4 | -21/+19 |
| | |||||
* | joining on aggregations; this time where the aggregation is on the right. | Nick Kallen | 2008-01-21 | 1 | -11/+39 |
| | |||||
* | merging "schmoin" experiment with joining aggregations into regular "join" ↵ | Nick Kallen | 2008-01-21 | 3 | -14/+54 |
| | | | | functionality; half-way done... | ||||
* | completed initial functionality for joining with aggregation (the meaning of ↵ | Nick Kallen | 2008-01-21 | 7 | -40/+74 |
| | | | | 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 | 6 | -6/+78 |
| | | | | 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 | ||||
* | Removed dupe spec | Bryan Helmkamp | 2008-01-14 | 1 | -18/+0 |
| | |||||
* | Remove ActiveRelation sub-modules and refactor specs | Bryan Helmkamp | 2008-01-14 | 20 | -538/+568 |
| | |||||
* | experimenting with strategy pattern rather than conditional; not as terse, ↵ | Nick Kallen | 2008-01-13 | 1 | -0/+3 |
| | | | | 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 | 4 | -9/+41 |
| | | | | aliased tables |