aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* better test coverage of relational operations with blank dataNick Kallen2008-04-126-99/+56
|
* tests of ValueNick Kallen2008-04-122-4/+35
|
* added pending test for (difficult) problem of aliasing tables for adjacency ↵Nick Kallen2008-04-122-2/+15
| | | | lists
* typoNick Kallen2008-04-121-2/+0
|
* considering deprecating rename operationNick Kallen2008-04-121-4/+5
| | | | - this may still be necessary when you join the same table to itself ... but not sure
* - removed #qualify and #descend helperNick Kallen2008-04-1226-223/+28
| | | | | - qualify seems no longer neccessary since everything is fully qualified - finished pending specs
* - string passthrough for joinsNick Kallen2008-04-129-21/+29
| | | | - blank checks
* fixed bug with take/skipNick Kallen2008-04-117-26/+38
|
* redesigned the way limit and offset workNick Kallen2008-04-119-50/+90
| | | | - was range now have special 'take' and 'skip' operations. (the terminology comes from linq)
* string passthrough for joinsNick Kallen2008-04-114-11/+34
|
* string passthrough for joinsNick Kallen2008-04-119-23/+32
|
* removed spurious calls to bindNick Kallen2008-04-112-5/+5
|
* removed binding for attributes and predicatesNick Kallen2008-04-116-32/+19
|
* removed bind for insertion and updationNick Kallen2008-04-116-14/+14
|
* refactored bind for orderNick Kallen2008-04-113-3/+4
|
* moved bind to factory of selectNick Kallen2008-04-118-33/+28
|
* added attribute.eq(nil)Nick Kallen2008-03-1610-11/+45
| | | | - produces attribute IS NULL
* test organizationNick Kallen2008-03-161-4/+4
|
* projections now support string passthroughNick Kallen2008-03-165-22/+61
| | | | - there is a weird inconsistency in where bind is called on values; this needs to be resolved
* nested orderingsNick Kallen2008-03-166-14/+36
|
* allowing string passthrough for order clausesNick Kallen2008-03-167-47/+96
|
* added support for `attribute IN ...` and `attribute BETWEEN ...`Nick Kallen2008-03-1612-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 operatorsNick Kallen2008-03-168-28/+28
| | | | | | - equals / eq - greater_than / gt - etc.
* formatting insert and update statementsNick Kallen2008-03-168-45/+110
| | | | - values need to be coerced to the type corresponding to the column
* renamed strategy to formatterNick Kallen2008-03-1612-21/+21
|
* properly quoting array valuesNick Kallen2008-03-1615-36/+89
|
* js/nk - fixed hashingNick Kallen2008-03-153-7/+11
|
* 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-136-18/+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-1211-62/+98
| | | | - added better test coverage and documentation of binary spec #to_sql
* test coverage of #prefix_for on join.Nick Kallen2008-03-128-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 testsNick Kallen2008-03-122-9/+12
|
* pending tests.Nick Kallen2008-03-123-5/+10
| | | | better coverage though i dislike the strategy
* renamed strategy method to formatNick Kallen2008-03-116-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/connectionNick Kallen2008-03-1112-16/+113
| | | | | - follows law of demeter - Table.engine uses AR::Base adapter
* implemented hashing macro; implemented custom matcher testing this macroNick Kallen2008-03-119-14/+47
|
* basic functionality for simplest active record find(id)Nick Kallen2008-03-053-11/+31
| | | | - messy code, to be cleaned up this weekend
* scalars are now lifted; the heavy lifting is done by the operations on ↵Nick Kallen2008-03-0221-75/+100
| | | | relation (select, join, etc.)
* introduced engine dependency for sql strategiesNick Kallen2008-03-0217-38/+74
| | | | - hacked in default engine for scalars -- BAD
* new concept of session boundariesNick Kallen2008-03-0223-75/+162
|
* quoting issuesNick Kallen2008-02-2417-349/+93
|
* renamed attribute to operand per josh's suggestionNick Kallen2008-02-242-23/+29
|
* Introduced concept of session. It does not yet support multiple databases, ↵Nick Kallen2008-02-2313-70/+189
| | | | nor transactions, but it's a start!
* updating functionalityNick Kallen2008-02-231-0/+17
|
* updating functionalityNick Kallen2008-02-231-0/+27
|
* added primitive update functionalityNick Kallen2008-02-232-1/+61
|
* organizing tests into unit/integrationNick Kallen2008-02-2318-17/+18
|
* extracted conditionals concerning the "externalizing" of relations under a join.Nick Kallen2008-02-187-33/+46
|