diff options
author | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 13:58:29 -0400 |
---|---|---|
committer | Bryan Helmkamp <bryan@brynary.com> | 2009-05-17 13:58:29 -0400 |
commit | 2bbf8ca9d2af3ea959a21c3729b4894bc31f088b (patch) | |
tree | d28994667dbebe135cc7c43d3948a5e5d968f214 /doc/TODO | |
parent | 49d119ae84bbb7cd180ca855cf48997dc731554c (diff) | |
download | rails-2bbf8ca9d2af3ea959a21c3729b4894bc31f088b.tar.gz rails-2bbf8ca9d2af3ea959a21c3729b4894bc31f088b.tar.bz2 rails-2bbf8ca9d2af3ea959a21c3729b4894bc31f088b.zip |
reorganized call
Conflicts:
doc/TODO
lib/arel/relations/relation.rb
lib/arel/relations/writes/delete.rb
lib/arel/relations/writes/insert.rb
lib/arel/relations/writes/update.rb
lib/arel/session.rb
spec/arel/unit/relations/delete_spec.rb
spec/arel/unit/relations/insert_spec.rb
spec/arel/unit/relations/relation_spec.rb
spec/arel/unit/relations/update_spec.rb
spec/arel/unit/session/session_spec.rb
Diffstat (limited to 'doc/TODO')
-rw-r--r-- | doc/TODO | 16 |
1 files changed, 7 insertions, 9 deletions
@@ -1,19 +1,16 @@ todo: -- joining with LIMIT is like aggregations!! +- refactor adapter pattern +- implement in memory adapter +- implement mnesia adapter +- joins become subselects in writes: users.delete().where( addresses.c.user_id== select([users.c.id]). where(users.c.name=='jack') ) - - SELECT id, name, - (select count(*) FROM addresses WHERE - user_id=users.id) - FROM users - - SELECT users.*, (SELECT count(id) FROM addresses WHERE - addresses.user_id=users.id) FROM users +- rename externalize to derived. +- and/or w/ predicates - blocks for all operations - result sets to attr correlation too - cache expiry on write @@ -85,6 +82,7 @@ done: - test: find_attribute_given_attribute and all @attribute ||= everywhere and memoization of table class. - rename select to where - rename all ion classes +- joining with LIMIT is like aggregations!! icebox: - #bind in Attribute and Expression should be doing a descend? |