aboutsummaryrefslogtreecommitdiffstats
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
* automatically aliasing tablesNick Kallen2008-04-282-64/+42
|
* attribute disambiguationNick Kallen2008-04-271-8/+25
|
* results of a select query are a hash indexed by attribute rather than stringNick Kallen2008-04-272-2/+2
|
* in fact, when doing subsequent orderings, we assume that the previous ↵Nick Kallen2008-04-181-2/+2
| | | | 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-13/+2
|
* officially renamed active_relation to arelNick Kallen2008-04-1822-23/+23
|
* test is meaningless but serves as documentationNick Kallen2008-04-141-0/+1
|
* - fixed hash orderingNick Kallen2008-04-146-61/+77
| | | | - organized doubles (previously called 'fakes')
* Fake database implementation. MySQL not required to run the testsBryan Helmkamp2008-04-152-6/+50
|
* adding limit options to update and destroyNick Kallen2008-04-132-14/+10
|
* fixed problem with updating multiple valuesNick Kallen2008-04-132-8/+6
|
* implementing one pending featureNick Kallen2008-04-132-18/+16
|
* Merge branch 'master' of git://github.com/brynary/arel into brynary/masterNick Kallen2008-04-134-20/+53
|\
| * Some pending specs for Insertion, Deletion and Update relating to LIMITs, ↵Bryan Helmkamp2008-04-133-0/+53
| | | | | | | | multiple values and multiple rows
| * Un-pending a Table spec that passes nowBryan Helmkamp2008-04-131-1/+0
| |
| * Remove duplicate Insertion specBryan Helmkamp2008-04-131-14/+0
| |
| * Use a git-ignored database.yml file for test DB configurationBryan Helmkamp2008-04-121-9/+3
| |
* | new conception of grouping and aggregation functionalityNick Kallen2008-04-134-16/+59
| |
* | adjacency lists workNick Kallen2008-04-132-2/+2
| | | | | | | | - implementation is a bit complex, but i can't think of anything simpler
* | better test coverage of relational operations with blank dataNick Kallen2008-04-122-63/+48
| |
* | tests of ValueNick Kallen2008-04-121-1/+28
| |
* | added pending test for (difficult) problem of aliasing tables for adjacency ↵Nick Kallen2008-04-121-0/+13
| | | | | | | | 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-1211-148/+25
| | | | | | | | | | - qualify seems no longer neccessary since everything is fully qualified - finished pending specs
* | - string passthrough for joinsNick Kallen2008-04-122-1/+2
| | | | | | | | - blank checks
* | fixed bug with take/skipNick Kallen2008-04-113-10/+22
| |
* | redesigned the way limit and offset workNick Kallen2008-04-113-15/+38
|/ | | | - was range now have special 'take' and 'skip' operations. (the terminology comes from linq)
* string passthrough for joinsNick Kallen2008-04-112-10/+21
|
* string passthrough for joinsNick Kallen2008-04-112-7/+13
|
* removed spurious calls to bindNick Kallen2008-04-112-5/+5
|
* removed binding for attributes and predicatesNick Kallen2008-04-114-24/+11
|
* removed bind for insertion and updationNick Kallen2008-04-113-10/+10
|
* refactored bind for orderNick Kallen2008-04-111-1/+1
|
* moved bind to factory of selectNick Kallen2008-04-112-4/+8
|
* added attribute.eq(nil)Nick Kallen2008-03-161-2/+24
| | | | - produces attribute IS NULL
* test organizationNick Kallen2008-03-161-4/+4
|
* projections now support string passthroughNick Kallen2008-03-161-9/+29
| | | | - there is a weird inconsistency in where bind is called on values; this needs to be resolved
* nested orderingsNick Kallen2008-03-161-0/+26
|
* allowing string passthrough for order clausesNick Kallen2008-03-163-30/+71
|
* added support for `attribute IN ...` and `attribute BETWEEN ...`Nick Kallen2008-03-164-46/+82
| | | | | - 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-165-19/+19
| | | | | | - equals / eq - greater_than / gt - etc.
* formatting insert and update statementsNick Kallen2008-03-163-30/+104
| | | | - values need to be coerced to the type corresponding to the column
* properly quoting array valuesNick Kallen2008-03-163-14/+29
|
* added abstract declarationNick Kallen2008-03-131-8/+0
|
* - renamed scalar to valueNick Kallen2008-03-125-46/+82
| | | | - added better test coverage and documentation of binary spec #to_sql
* test coverage of #prefix_for on join.Nick Kallen2008-03-127-9/+35
| | | | | - 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-122-3/+8
| | | | better coverage though i dislike the strategy
* refactored session's interaction with engine/connectionNick Kallen2008-03-116-12/+45
| | | | | - follows law of demeter - Table.engine uses AR::Base adapter