Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | Some pending specs for Insertion, Deletion and Update relating to LIMITs, ↵ | Bryan Helmkamp | 2008-04-13 | 3 | -0/+53 | |
| | | | | | | | | | | | | | | | | multiple values and multiple rows | |||||
| * | | | Un-pending a Table spec that passes now | Bryan Helmkamp | 2008-04-13 | 1 | -1/+0 | |
| | | | | ||||||
| * | | | Remove duplicate Insertion spec | Bryan Helmkamp | 2008-04-13 | 1 | -14/+0 | |
| | | | | ||||||
| * | | | Use a git-ignored database.yml file for test DB configuration | Bryan Helmkamp | 2008-04-12 | 3 | -9/+10 | |
| | | | | ||||||
* | | | | new conception of grouping and aggregation functionality | Nick Kallen | 2008-04-13 | 11 | -53/+95 | |
| | | | | ||||||
* | | | | adjacency lists work | Nick Kallen | 2008-04-13 | 5 | -18/+39 | |
| | | | | | | | | | | | | | | | | - 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 | 6 | -99/+56 | |
| | | | | ||||||
* | | | | tests of Value | Nick Kallen | 2008-04-12 | 2 | -4/+35 | |
| | | | | ||||||
* | | | | added pending test for (difficult) problem of aliasing tables for adjacency ↵ | Nick Kallen | 2008-04-12 | 2 | -2/+15 | |
| | | | | | | | | | | | | | | | | lists | |||||
* | | | | typo | Nick Kallen | 2008-04-12 | 1 | -2/+0 | |
| | | | | ||||||
* | | | | considering deprecating rename operation | Nick Kallen | 2008-04-12 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | - this may still be necessary when you join the same table to itself ... but not sure | |||||
* | | | | - removed #qualify and #descend helper | Nick Kallen | 2008-04-12 | 26 | -223/+28 | |
| | | | | | | | | | | | | | | | | | | | | - qualify seems no longer neccessary since everything is fully qualified - finished pending specs | |||||
* | | | | - string passthrough for joins | Nick Kallen | 2008-04-12 | 9 | -21/+29 | |
| | | | | | | | | | | | | | | | | - blank checks | |||||
* | | | | fixed bug with take/skip | Nick Kallen | 2008-04-11 | 7 | -26/+38 | |
| | | | | ||||||
* | | | | redesigned the way limit and offset work | Nick Kallen | 2008-04-11 | 9 | -50/+90 | |
|/ / / | | | | | | | | | | - was range now have special 'take' and 'skip' operations. (the terminology comes from linq) | |||||
* | | | string passthrough for joins | Nick Kallen | 2008-04-11 | 4 | -11/+34 | |
| | | | ||||||
* | | | string passthrough for joins | Nick Kallen | 2008-04-11 | 9 | -23/+32 | |
| | | | ||||||
* | | | removed spurious calls to bind | Nick Kallen | 2008-04-11 | 2 | -5/+5 | |
| | | | ||||||
* | | | removed binding for attributes and predicates | Nick Kallen | 2008-04-11 | 6 | -32/+19 | |
| | | | ||||||
* | | | removed bind for insertion and updation | Nick Kallen | 2008-04-11 | 6 | -14/+14 | |
| | | | ||||||
* | | | refactored bind for order | Nick Kallen | 2008-04-11 | 3 | -3/+4 | |
| | | | ||||||
* | | | moved bind to factory of select | Nick Kallen | 2008-04-11 | 8 | -33/+28 | |
| | | | ||||||
* | | | added attribute.eq(nil) | Nick Kallen | 2008-03-16 | 10 | -11/+45 | |
| | | | | | | | | | | | | - produces attribute IS NULL | |||||
* | | | test organization | Nick Kallen | 2008-03-16 | 1 | -4/+4 | |
| | | | ||||||
* | | | projections now support string passthrough | Nick Kallen | 2008-03-16 | 5 | -22/+61 | |
| | | | | | | | | | | | | - there is a weird inconsistency in where bind is called on values; this needs to be resolved | |||||
* | | | nested orderings | Nick Kallen | 2008-03-16 | 6 | -14/+36 | |
| | | | ||||||
* | | | allowing string passthrough for order clauses | Nick Kallen | 2008-03-16 | 7 | -47/+96 | |
| | | | ||||||
* | | | added support for `attribute IN ...` and `attribute BETWEEN ...` | Nick Kallen | 2008-03-16 | 12 | -71/+126 | |
| | | | | | | | | | | | | | | | - 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 | 8 | -28/+28 | |
| | | | | | | | | | | | | | | | | | | - equals / eq - greater_than / gt - etc. | |||||
* | | | formatting insert and update statements | Nick Kallen | 2008-03-16 | 8 | -45/+110 | |
| | | | | | | | | | | | | - values need to be coerced to the type corresponding to the column | |||||
* | | | renamed strategy to formatter | Nick Kallen | 2008-03-16 | 12 | -21/+21 | |
| | | | ||||||
* | | | properly quoting array values | Nick Kallen | 2008-03-16 | 15 | -36/+89 | |
| | | | ||||||
* | | | 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 | |
| |