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 sqlalch...@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to