Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
d
Tags
rel_0_1_5
Mike Bayer
tweak to mapper to allow inheritance on the same table.
Mike Bayer
backrefs on cyclical relationships were breaking for the "root" node which had None for a parent, due to addition in [changeset:1186] which added a "deletion" traversal for many-to-one relationships. added unittest.
Mike Bayer
0.1.5 prep
Mike Bayer
removed..
Mike Bayer
added always_refresh flag. when the mapper loads rows, it will pull objects from the identity map normally, but always blows away their attributes and replaces with those from the database, including changes
Mike Bayer
rework to expire() to make it smarter. when you expire(), history is immediately removed as well as explicit from dirty/deleted lists. this also changes uow.rollback_object() to remove from those lists, which is strange that it didnt do that before. anyway the mapper, when selecting and creating instances, asks the uow if this already identity-mapped instance is expired, and if so refreshes it on the fly, saving the need for the re-…
Mike Bayer
fixed pickle example, its standard anyway....
Mike Bayer
column label generation checks for a conflict against a column named the same as the label comment in mapper
Mike Bayer
improved translation of rows when proxying rows from one mapper to another.
Mike Bayer
a cool example that illustrates vertical table storage, and objects that automatically configure themselves for this type of storage
Mike Bayer
except it fails a unit test. OK, make it ia KeyError
Mike Bayer
util: the __setitem__ method on historyarraylist was meaningless, surprising nobody noticed that. types: added PickleType, its slightly trickier than trivial, so OK now its standard. attributes: the level of pain if an AttributeError occurs inside a CallableProp, in combination with an object that implements __getattr__, is too deep for me to put the users through....so convert AttributeErrors to Assertions... engine: im not a fan of catching universal exceptions and squashing them
Mike Bayer
removed circular loop in creating new list elements, fixes a common refresh() condition added None check in PropertyLoader many-to-one private deletion traversal, fixes byroot_tree (add a unit test for that)
Mike Bayer
removed all "tablename + '_' + columname" code and replaced with column._label, to take advantage of column labeling rules bind param compilation,when it unique-ifys the name of bind params, maintains the length of the bind parameter name instead of appending to it
Mike Bayer
added *args **kwargs pass-thru to transaction()
Mike Bayer
method add
Mike Bayer
added expire/refresh/expunge to assign_mapper
Mike Bayer
ah well the overflow doesnt work
Mike Bayer
dev
Mike Bayer
dev
Mike Bayer
doc dev...
Mike Bayer
doc dev
Mike Bayer
doc devel
Mike Bayer
update to types doc commented out 'tutorial' from docuemnt_base until its complete float extends numeric type
Mike Bayer
ResultProxy has an iterator interface
Mike Bayer
got some support for mapping to a select that only selects some of the columns of an underlying table
Mike Bayer
added check in SessionTrans.begin() that the underlying unit of work is still the current uow
Mike Bayer
added expunge() method to objectstore correction in attributes reset_history to really reset in all cases added unit tests testing refresh()/expire() bug that was fixed by reset_history thing
Mike Bayer
added overrideable managed_attribute_dict() function which can be changed to eliminate circular references on objects
  1. Prev
  2. Next