python - sqlalchemy relationship persistancy -


new sqlalchemy...

i have relashionship in class asset such that:

valids = sqlalchemy.orm.relationship("myclass", primaryjoin="and_(asset.id==myclass.asset_id, myclass.valid==true, myclass.approved==true)", viewonly=true) 

where valid , approved columns.. want persistant, i.e. whenever either valid or approved columns have been updated, want valids updated expiry, possible?

thanks!


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -