From cae95fc02af1fff885dca4a29b2fd3711b809cab Mon Sep 17 00:00:00 2001 From: Nick Kallen Date: Sun, 16 Mar 2008 17:49:06 -0700 Subject: projections now support string passthrough - there is a weird inconsistency in where bind is called on values; this needs to be resolved --- TODO | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index c58a6d091f..8b60e671a1 100644 --- a/TODO +++ b/TODO @@ -1,34 +1,26 @@ todo: - string passthrough: :joins=>"INNER JOIN posts ON comments.post_id = posts.id" - :conditions=>"(`posts`.author_id = 1)", :select=>"`comments`.*" - :conditions=>"1 = 1" - need adapters for this form: {:conditions=>["approved = ?", false]} {:conditions=>{:approved=>false}} {:conditions=>{"topics.approved"=>false}} {:conditions=>{:address=>#, "customers.name"=>"David1"}} - -- orders need string pass through - :order=>"developers.name desc, developers.id desc", -- orders need to be composable +- re-evaluate bind -- does bind belong inside the relation / predicate classes or in the factory methods? - #bind in Attribute and Expression should be doing a descend? - try to make aggration testing in join spec to be a bit more unit-like - finish pending tests - test relation, table reset - cache expiry on write - rewrite of querycache test in light of this -- relation inclusion when given an array (1,2,3,4) should quote the elements using the appropriate quoting formatter taken from the attribute - - descend on array, along with bind written in terms of it - standardize quoting - use strings everywhere, not symbols ? - "unit" test sql strategies - use real world examples, so they should be like a tutorial. - rename the tion (Selection) classes so that words that don't end in tion don't seem inconsistent -- re-evaluate bind - mock out database done: @@ -67,4 +59,10 @@ done: - renamed to #format: operand1.format(operand2) - rename sql strategies - need to_sql for ranges - - {:conditions=>{:id=>2..3}} \ No newline at end of file + - {:conditions=>{:id=>2..3}} +- nested orderings +- string passthrough + - conditions + - orderings +- relation inclusion when given an array (1,2,3,4) should quote the elements using the appropriate quoting formatter taken from the attribute + - descend on array, along with bind written in terms of it -- cgit v1.2.3