aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* cleanupNick Kallen2008-05-041-105/+2
|
* cleanupNick Kallen2008-05-042-8/+4
|
* cleanupNick Kallen2008-05-041-10/+6
|
* additional testingNick Kallen2008-05-041-7/+2
|
* minor cleanupNick Kallen2008-05-046-46/+40
|
* Table names seem to be disambiguated.Nick Kallen2008-05-0410-77/+105
| | | | - Code is a mess, about to undergo some refactoring
* finally fixed table aliasing issuesNick Kallen2008-05-014-22/+20
| | | | - the solution is currently ugly, but i have an idea how to clean it up
* naming of aliased relations seemed to be solved; now aggregate relations are ↵Nick Kallen2008-05-016-22/+32
| | | | still broken
* the big obstacleNick Kallen2008-04-304-17/+11
|
* automatically aliasing tablesNick Kallen2008-04-287-42/+50
|
* attribute disambiguationNick Kallen2008-04-272-12/+6
|
* results of a select query are a hash indexed by attribute rather than stringNick Kallen2008-04-272-10/+12
|
* - new todo itemsNick Kallen2008-04-192-0/+6
| | | | | - alias to_sql to to_s - added column_for to join (untested)
* in fact, when doing subsequent orderings, we assume that the previous ↵Nick Kallen2008-04-181-5/+9
| | | | orderings have taken effect and therefore where the new ordering finds things equal, the previous ordering should take effect
* when ordering, the last order winsNick Kallen2008-04-181-9/+3
|
* officially renamed active_relation to arelNick Kallen2008-04-1840-64/+64
|
* adding limit options to update and destroyNick Kallen2008-04-132-2/+4
|
* fixed problem with updating multiple valuesNick Kallen2008-04-131-1/+1
|
* implementing one pending featureNick Kallen2008-04-131-2/+2
|
* new conception of grouping and aggregation functionalityNick Kallen2008-04-137-37/+36
|
* adjacency lists workNick Kallen2008-04-132-3/+27
| | | | - implementation is a bit complex, but i can't think of anything simpler
* better test coverage of relational operations with blank dataNick Kallen2008-04-123-35/+6
|
* added pending test for (difficult) problem of aliasing tables for adjacency ↵Nick Kallen2008-04-121-2/+2
| | | | lists
* - removed #qualify and #descend helperNick Kallen2008-04-1215-75/+3
| | | | | - qualify seems no longer neccessary since everything is fully qualified - finished pending specs
* - string passthrough for joinsNick Kallen2008-04-125-16/+22
| | | | - blank checks
* fixed bug with take/skipNick Kallen2008-04-114-16/+16
|
* redesigned the way limit and offset workNick Kallen2008-04-116-35/+52
| | | | - was range now have special 'take' and 'skip' operations. (the terminology comes from linq)
* string passthrough for joinsNick Kallen2008-04-112-1/+13
|
* string passthrough for joinsNick Kallen2008-04-115-5/+11
|
* removed binding for attributes and predicatesNick Kallen2008-04-112-8/+8
|
* removed bind for insertion and updationNick Kallen2008-04-113-4/+4
|
* refactored bind for orderNick Kallen2008-04-112-2/+3
|
* moved bind to factory of selectNick Kallen2008-04-113-17/+8
|
* added attribute.eq(nil)Nick Kallen2008-03-168-7/+19
| | | | - produces attribute IS NULL
* projections now support string passthroughNick Kallen2008-03-162-3/+7
| | | | - there is a weird inconsistency in where bind is called on values; this needs to be resolved
* nested orderingsNick Kallen2008-03-165-14/+10
|
* allowing string passthrough for order clausesNick Kallen2008-03-163-14/+23
|
* added support for `attribute IN ...` and `attribute BETWEEN ...`Nick Kallen2008-03-168-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 operatorsNick Kallen2008-03-161-5/+5
| | | | | | - equals / eq - greater_than / gt - etc.
* formatting insert and update statementsNick Kallen2008-03-164-14/+6
| | | | - values need to be coerced to the type corresponding to the column
* renamed strategy to formatterNick Kallen2008-03-1611-18/+18
|
* properly quoting array valuesNick Kallen2008-03-1611-22/+39
|
* js/nk - fixed hashingNick Kallen2008-03-152-3/+5
|
* annotated abstract methods on relationNick Kallen2008-03-132-6/+16
|
* annotated abstractionNick Kallen2008-03-136-5/+9
| | | | | - in compound - created superclass for the create/insert/update write operations, marked :call as abstract
* added abstract declarationNick Kallen2008-03-135-10/+22
|
* renamed sql formatting strategies to correspond with sql grammar rule names ↵Nick Kallen2008-03-135-26/+25
| | | | in the mysql bnf
* - renamed scalar to valueNick Kallen2008-03-125-13/+13
| | | | - added better test coverage and documentation of binary spec #to_sql
* renamed strategy method to formatNick Kallen2008-03-115-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/connectionNick Kallen2008-03-115-4/+20
| | | | | - follows law of demeter - Table.engine uses AR::Base adapter