On Thu, Feb 27, 2014 at 8:44 AM, RonnyPfannschmidt
<ronny.pfannschm...@gmail.com> wrote:
> Hi,
>
> im working on a project where in many tables data can not be deleted, but
> only marked as deactivated,
> Propperly handling selection of active data for normal users and all data
> for admins is turning more and more tendious (in particular wrt relationship
> configuration)
>
> Im wondering if there is a way to configure mappers/queries to automatically
> take such flags into account.
>
> -- Ronny
>

Perhaps something like this might help:

  https://bitbucket.org/zzzeek/sqlalchemy/wiki/UsageRecipes/PreFilteredQuery

Simon

-- 
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 http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to