Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | officially renamed active_relation to arel | Nick Kallen | 2008-04-18 | 40 | -64/+64 | |
| | ||||||
* | adding limit options to update and destroy | Nick Kallen | 2008-04-13 | 2 | -2/+4 | |
| | ||||||
* | fixed problem with updating multiple values | Nick Kallen | 2008-04-13 | 1 | -1/+1 | |
| | ||||||
* | implementing one pending feature | Nick Kallen | 2008-04-13 | 1 | -2/+2 | |
| | ||||||
* | new conception of grouping and aggregation functionality | Nick Kallen | 2008-04-13 | 7 | -37/+36 | |
| | ||||||
* | adjacency lists work | Nick Kallen | 2008-04-13 | 2 | -3/+27 | |
| | | | | - implementation is a bit complex, but i can't think of anything simpler | |||||
* | better test coverage of relational operations with blank data | Nick Kallen | 2008-04-12 | 3 | -35/+6 | |
| | ||||||
* | added pending test for (difficult) problem of aliasing tables for adjacency ↵ | Nick Kallen | 2008-04-12 | 1 | -2/+2 | |
| | | | | lists | |||||
* | - removed #qualify and #descend helper | Nick Kallen | 2008-04-12 | 15 | -75/+3 | |
| | | | | | - qualify seems no longer neccessary since everything is fully qualified - finished pending specs | |||||
* | - string passthrough for joins | Nick Kallen | 2008-04-12 | 5 | -16/+22 | |
| | | | | - blank checks | |||||
* | fixed bug with take/skip | Nick Kallen | 2008-04-11 | 4 | -16/+16 | |
| | ||||||
* | redesigned the way limit and offset work | Nick Kallen | 2008-04-11 | 6 | -35/+52 | |
| | | | | - was range now have special 'take' and 'skip' operations. (the terminology comes from linq) | |||||
* | string passthrough for joins | Nick Kallen | 2008-04-11 | 2 | -1/+13 | |
| | ||||||
* | string passthrough for joins | Nick Kallen | 2008-04-11 | 5 | -5/+11 | |
| | ||||||
* | removed binding for attributes and predicates | Nick Kallen | 2008-04-11 | 2 | -8/+8 | |
| | ||||||
* | removed bind for insertion and updation | Nick Kallen | 2008-04-11 | 3 | -4/+4 | |
| | ||||||
* | refactored bind for order | Nick Kallen | 2008-04-11 | 2 | -2/+3 | |
| | ||||||
* | moved bind to factory of select | Nick Kallen | 2008-04-11 | 3 | -17/+8 | |
| | ||||||
* | added attribute.eq(nil) | Nick Kallen | 2008-03-16 | 8 | -7/+19 | |
| | | | | - produces attribute IS NULL | |||||
* | projections now support string passthrough | Nick Kallen | 2008-03-16 | 2 | -3/+7 | |
| | | | | - there is a weird inconsistency in where bind is called on values; this needs to be resolved | |||||
* | nested orderings | Nick Kallen | 2008-03-16 | 5 | -14/+10 | |
| | ||||||
* | allowing string passthrough for order clauses | Nick Kallen | 2008-03-16 | 3 | -14/+23 | |
| | ||||||
* | added support for `attribute IN ...` and `attribute BETWEEN ...` | Nick Kallen | 2008-03-16 | 8 | -25/+44 | |
| | | | | | - 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. | |||||
* | formatting insert and update statements | Nick Kallen | 2008-03-16 | 4 | -14/+6 | |
| | | | | - values need to be coerced to the type corresponding to the column | |||||
* | renamed strategy to formatter | Nick Kallen | 2008-03-16 | 11 | -18/+18 | |
| | ||||||
* | properly quoting array values | Nick Kallen | 2008-03-16 | 11 | -22/+39 | |
| | ||||||
* | js/nk - fixed hashing | Nick Kallen | 2008-03-15 | 2 | -3/+5 | |
| | ||||||
* | 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 | 5 | -10/+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 | 5 | -13/+13 | |
| | | | | - added better test coverage and documentation of binary spec #to_sql | |||||
* | renamed strategy method to format | Nick Kallen | 2008-03-11 | 5 | -15/+19 | |
| | | | | | | - 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 | 5 | -4/+20 | |
| | | | | | - follows law of demeter - Table.engine uses AR::Base adapter | |||||
* | implemented hashing macro; implemented custom matcher testing this macro | Nick Kallen | 2008-03-11 | 5 | -10/+11 | |
| | ||||||
* | basic functionality for simplest active record find(id) | Nick Kallen | 2008-03-05 | 2 | -11/+25 | |
| | | | | - 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 | 13 | -48/+70 | |
| | | | | relation (select, join, etc.) | |||||
* | introduced engine dependency for sql strategies | Nick Kallen | 2008-03-02 | 12 | -33/+43 | |
| | | | | - hacked in default engine for scalars -- BAD | |||||
* | new concept of session boundaries | Nick Kallen | 2008-03-02 | 8 | -17/+53 | |
| | ||||||
* | quoting issues | Nick Kallen | 2008-02-24 | 11 | -70/+58 | |
| | ||||||
* | renamed attribute to operand per josh's suggestion | Nick Kallen | 2008-02-24 | 1 | -12/+13 | |
| | ||||||
* | Introduced concept of session. It does not yet support multiple databases, ↵ | Nick Kallen | 2008-02-23 | 7 | -27/+89 | |
| | | | | nor transactions, but it's a start! | |||||
* | updating functionality | Nick Kallen | 2008-02-23 | 1 | -0/+17 | |
| | ||||||
* | added primitive update functionality | Nick Kallen | 2008-02-23 | 1 | -0/+1 | |
| | ||||||
* | extracted conditionals concerning the "externalizing" of relations under a join. | Nick Kallen | 2008-02-18 | 5 | -18/+44 | |
| | ||||||
* | made descend public; added test coverage for it; tests for qualify are now ↵ | Nick Kallen | 2008-02-18 | 9 | -16/+8 | |
| | | | | 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 | 1 | -2/+2 | |
| | ||||||
* | 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 |