Thank you, I have managed to create a plugin for SQLAlchemy-Continuum that adds the approved field to the versioned tables automatically. Hopefully I will figure out a way of adding the functionality through the addin to retrieve the most recent versions of records that have been approved. Your suggestion will be helpful
On Monday, July 16, 2018 at 5:24:16 PM UTC+1, Jonathan Vanasco wrote: > > > > On Monday, July 16, 2018 at 4:53:18 AM UTC-4, Marc wrote: >> >> Thank you both Jonathan and Kirk for your helpful comments. I am leaning >> more and more towards using a versioning/history solution. If I can figure >> out a way to incorporate a approved flag into the history tables produced >> by something like SQLAlchemy-Continuum, it should meet all the requirements >> and provide additional functionality for 'free' >> > > There is a recipe for 'global filters' in the sqlalchemy docs. that may > help. > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.