From 9d77c08cf8a75636b058c1b85af52ef96e07cee5 Mon Sep 17 00:00:00 2001 From: Bryan Helmkamp Date: Sun, 17 May 2009 15:00:10 -0400 Subject: made block stuff read nicer Conflicts: doc/TODO --- doc/TODO | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'doc/TODO') diff --git a/doc/TODO b/doc/TODO index dfbf09de9d..d7e3bb280d 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,31 +1,24 @@ todo: -- projection is by definition distincting -- union/intersection -- refactor adapter pattern - result sets to attr correlation too - result sets should be array relations +- fix AR - clean up block_given stuff - reorganize sql tests - audit unit coverage of algebra -- break out adapters into sep modules +- implement mnesia adapter - data objects - remove all explicit aliasing - blocks for joins -- implement in memory adapter -- implement mnesia adapter -- test ordering -- joins become subselects in writes: -users.delete().where( - addresses.c.user_id== - select([users.c.id]). - where(users.c.name=='jack') - ) - rename externalize to derived. - and/or w/ predicates +- scoped writes +- refactor adapter pattern +- break out adapters into sep modules +- projection is by definition distincting? +- union/intersection +- test ordering - cache expiry on write - transactions -- scoped writes -- asc/desc for orderings done: - and/or w/ predicates @@ -93,6 +86,7 @@ done: - joining with LIMIT is like aggregations!! - blocks for non-joins - expressions should be class-based, and joins too, anything _sql should be renamed +- implement in memory adapter icebox: - #bind in Attribute and Expression should be doing a descend? @@ -107,3 +101,9 @@ icebox: @reflection.options[:counter_sql] = @reflection.options[:finder_sql].sub(/SELECT (\/\*.*?\*\/ )?(.*)\bFROM\b/im) { "SELECT #{$1}COUNT(*) FROM" } - lock - SELECT suchandsuch FOR UPDATE +- joins become subselects in writes: +users.delete().where( + addresses.c.user_id== + select([users.c.id]). + where(users.c.name=='jack') + ) \ No newline at end of file -- cgit v1.2.3