Is it have sense to have something like RelationFromCache(region,
namespace, attribute) ?
To use it like:
meta.Session.query(User).\
options(cache.RelationFromCache('default',
'by_id', User.office)).\
filter_by(username=username, disabled=False).\
invalidate()
To invalidate certain relation.
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.