]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
(no commit message)
authorMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Sep 2005 04:22:36 +0000 (04:22 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Wed, 7 Sep 2005 04:22:36 +0000 (04:22 +0000)
TODO
lib/sqlalchemy/objectstore.py

diff --git a/TODO b/TODO
index 371f31c8b44eda3747f590d16d5bbb06378bd7a8..7ecb9f6176b50659478773da4acbd4f61ae0cb5a 100644 (file)
--- a/TODO
+++ b/TODO
@@ -3,8 +3,6 @@ TODO:
 
 table reflection, i.e. create tables with autoload = True
 
-sequences/autoincrement support
-
 mapper can take a row-processing/object instantiating function, without expensive construction
 
 lazy/eager loaders added to mapper via a list instaed of dictionary
@@ -15,12 +13,8 @@ horizontal lazy/eager loaders for one object across tables - add it to existing
 this will add a lot to SmartProperty since it needs to support a list of properties that all trigger
 one lazy loader
 
-saving !
-
 unit of work ?
 
-identity map - more like fowlers
-
 
 
 Oracle module
index 44a29e071c89d8df443468b382ab65e452784c55..7bcf00fd8fd07578fa7be77a1b54dd18336895f0 100644 (file)
@@ -21,7 +21,7 @@ def get_id_key(ident, class_, table, selectable):
     return (class_, table, tuple(ident))
 def get_instance_key(object, class_, table, selectable):
     return (class_, table, tuple([getattr(object, column.key, None) for column in selectable.primary_keys]))
-def get_key(row, class_, table, selectable):
+def get_row_key(row, class_, table, selectable):
     return (class_, table, tuple([row[column.label] for column in selectable.primary_keys]))
 
 identity_map = {}
@@ -67,4 +67,20 @@ def has_key(key):
         return False
     
 class UnitOfWork:
-    pass
\ No newline at end of file
+    def __init__(self):
+        pass
+        
+    def register_clean(self, obj):
+        pass
+
+    def register_new(self, obj):
+        pass
+        
+    def register_dirty(self, obj):
+        pass
+        
+    def register_deleted(self, obj):
+        pass   
+        
+        
+        
\ No newline at end of file