Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer avatarMike Bayer
d
Tags
rel_0_1_5
Mike Bayer avatarMike Bayer
tweak to mapper to allow inheritance on the same table.
Mike Bayer avatarMike 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 avatarMike Bayer
0.1.5 prep
Mike Bayer avatarMike Bayer
removed..
Mike Bayer avatarMike 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 avatarMike 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 avatarMike Bayer
fixed pickle example, its standard anyway....
Mike Bayer avatarMike Bayer
column label generation checks for a conflict against a column named the same as the label
Mike Bayer avatarMike Bayer
improved translation of rows when proxying rows from one mapper to another.
Mike Bayer avatarMike Bayer
a cool example that illustrates vertical table storage, and objects that automatically configure themselves for this type of storage
Mike Bayer avatarMike Bayer
except it fails a unit test. OK, make it ia KeyError
Mike Bayer avatarMike Bayer
util: the __setitem__ method on historyarraylist was meaningless, surprising nobody noticed that.
Mike Bayer avatarMike Bayer
removed circular loop in creating new list elements, fixes a common refresh() condition
Mike Bayer avatarMike Bayer
removed all "tablename + '_' + columname" code and replaced with column._label, to take
Mike Bayer avatarMike Bayer
added *args **kwargs pass-thru to transaction()
Mike Bayer avatarMike Bayer
method add
Mike Bayer avatarMike Bayer
added expire/refresh/expunge to assign_mapper
Mike Bayer avatarMike Bayer
ah well the overflow doesnt work
Mike Bayer avatarMike Bayer
dev
Mike Bayer avatarMike Bayer
dev
Mike Bayer avatarMike Bayer
doc dev...
Mike Bayer avatarMike Bayer
doc dev
Mike Bayer avatarMike Bayer
doc devel
Mike Bayer avatarMike Bayer
update to types doc
Mike Bayer avatarMike Bayer
ResultProxy has an iterator interface
Mike Bayer avatarMike Bayer
got some support for mapping to a select that only selects some of the columns of an underlying table
Mike Bayer avatarMike Bayer
added check in SessionTrans.begin() that the underlying unit of work is still the current uow
Mike Bayer avatarMike Bayer
added expunge() method to objectstore
Mike Bayer avatarMike Bayer
added overrideable managed_attribute_dict() function which can be changed
  1. Prev
  2. Next
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.