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
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
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 = {}
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