Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | | js/nk - fixed hashing | Nick Kallen | 2008-03-15 | 3 | -7/+11 | |
| |/ |/| | ||||||
* | | annotated abstract methods on relation | Nick Kallen | 2008-03-13 | 2 | -6/+16 | |
| | | ||||||
* | | annotated abstraction | Nick Kallen | 2008-03-13 | 6 | -5/+9 | |
| | | | | | | | | | | - in compound - created superclass for the create/insert/update write operations, marked :call as abstract | |||||
* | | added abstract declaration | Nick Kallen | 2008-03-13 | 6 | -18/+22 | |
| | | ||||||
* | | renamed sql formatting strategies to correspond with sql grammar rule names ↵ | Nick Kallen | 2008-03-13 | 5 | -26/+25 | |
| | | | | | | | | in the mysql bnf | |||||
* | | - renamed scalar to value | Nick Kallen | 2008-03-12 | 11 | -62/+98 | |
| | | | | | | | | - added better test coverage and documentation of binary spec #to_sql | |||||
* | | test coverage of #prefix_for on join. | Nick Kallen | 2008-03-12 | 8 | -11/+37 | |
| | | | | | | | | | | - 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 | 3 | -5/+10 | |
| | | | | | | | | better coverage though i dislike the strategy | |||||
* | | renamed strategy method to format | Nick Kallen | 2008-03-11 | 6 | -16/+21 | |
| | | | | | | | | | | | | - 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. | |||||
* | | refactored session's interaction with engine/connection | Nick Kallen | 2008-03-11 | 12 | -16/+113 | |
| | | | | | | | | | | - follows law of demeter - Table.engine uses AR::Base adapter | |||||
* | | implemented hashing macro; implemented custom matcher testing this macro | Nick Kallen | 2008-03-11 | 9 | -14/+47 | |
|/ | ||||||
* | basic functionality for simplest active record find(id) | Nick Kallen | 2008-03-05 | 3 | -11/+31 | |
| | | | | - 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 | 21 | -75/+100 | |
| | | | | relation (select, join, etc.) | |||||
* | introduced engine dependency for sql strategies | Nick Kallen | 2008-03-02 | 17 | -38/+74 | |
| | | | | - hacked in default engine for scalars -- BAD | |||||
* | new concept of session boundaries | Nick Kallen | 2008-03-02 | 23 | -75/+162 | |
| | ||||||
* | quoting issues | Nick Kallen | 2008-02-24 | 17 | -349/+93 | |
| | ||||||
* | renamed attribute to operand per josh's suggestion | Nick Kallen | 2008-02-24 | 2 | -23/+29 | |
| | ||||||
* | Introduced concept of session. It does not yet support multiple databases, ↵ | Nick Kallen | 2008-02-23 | 13 | -70/+189 | |
| | | | | nor transactions, but it's a start! | |||||
* | updating functionality | Nick Kallen | 2008-02-23 | 1 | -0/+17 | |
| | ||||||
* | updating functionality | Nick Kallen | 2008-02-23 | 1 | -0/+27 | |
| | ||||||
* | added primitive update functionality | Nick Kallen | 2008-02-23 | 2 | -1/+61 | |
| | ||||||
* | organizing tests into unit/integration | Nick Kallen | 2008-02-23 | 18 | -17/+18 | |
| | ||||||
* | extracted conditionals concerning the "externalizing" of relations under a join. | Nick Kallen | 2008-02-18 | 7 | -33/+46 | |
| | ||||||
* | made descend public; added test coverage for it; tests for qualify are now ↵ | Nick Kallen | 2008-02-18 | 16 | -29/+61 | |
| | | | | in terms of descend | |||||
* | rename __collect__ to descend since the double underscores were ugly. | Nick Kallen | 2008-02-18 | 11 | -22/+22 | |
| | ||||||
* | adding support for scalar selects | Nick Kallen | 2008-02-16 | 3 | -3/+9 | |
| | ||||||
* | introduced __collect__, an internal enumerating operator. This is a map down ↵ | Nick Kallen | 2008-02-16 | 13 | -34/+61 | |
| | | | | the tree representing the relation. Monadic map to be precise | |||||
* | cleanup | Nick Kallen | 2008-02-16 | 11 | -80/+94 | |
| | ||||||
* | organized congruence stuff in attribute | Nick Kallen | 2008-02-16 | 3 | -19/+28 | |
| | ||||||
* | more test coverage | Nick Kallen | 2008-02-16 | 6 | -48/+69 | |
| | ||||||
* | 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 | 4 | -25/+24 | |
| | ||||||
* | removing unneccessary tests now that attribute lookup is so simple | Nick Kallen | 2008-02-11 | 8 | -118/+29 | |
| | ||||||
* | rename substitute to bind since it 'binds' an object to a new relation. | Nick Kallen | 2008-02-11 | 14 | -43/+43 | |
| | ||||||
* | aesthetic considerations | Nick Kallen | 2008-02-11 | 9 | -15/+29 | |
| | ||||||
* | removing code complexity concerning attribute lookup. | Nick Kallen | 2008-02-11 | 14 | -107/+68 | |
| | ||||||
* | 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 | 7 | -67/+147 | |
| | ||||||
* | this is very messy but it is finally close to feature-complete | Nick Kallen | 2008-02-03 | 17 | -105/+180 | |
| | ||||||
* | i know it doesn't work but need to anchor here... | Nick Kallen | 2008-02-03 | 26 | -349/+304 | |
| | ||||||
* | cleanup | Nick Kallen | 2008-01-27 | 2 | -11/+14 | |
| | ||||||
* | filling out some pending specs | Nick Kallen | 2008-01-21 | 6 | -22/+23 | |
| | ||||||
* | joining on aggregations; this time where the aggregation is on the right. | Nick Kallen | 2008-01-21 | 6 | -29/+66 | |
| | ||||||
* | merging "schmoin" experiment with joining aggregations into regular "join" ↵ | Nick Kallen | 2008-01-21 | 7 | -20/+76 | |
| | | | | functionality; half-way done... | |||||
* | completed initial functionality for joining with aggregation (the meaning of ↵ | Nick Kallen | 2008-01-21 | 18 | -92/+152 | |
| | | | | 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 | 15 | -22/+169 | |
| | | | | 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 | |
| | ||||||
* | Add rake task for coverage | Bryan Helmkamp | 2008-01-14 | 2 | -0/+7 | |
| | ||||||
* | Remove ActiveRelation sub-modules and refactor specs | Bryan Helmkamp | 2008-01-14 | 38 | -1041/+1039 | |
| |