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-_get() operation, if some other query happens to touch upon the expired object. unit test added to confirm this.
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
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.
Mike Bayer
removed circular loop in creating new list elements, fixes a common refresh() condition
Mike Bayer
removed all "tablename + '_' + columname" code and replaced with column._label, to take
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
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
Mike Bayer
added overrideable managed_attribute_dict() function which can be changed
  1. Prev
  2. Next