Yep, and I want to know them after the flush :-)

On Apr 15, 7:11 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> session has a "deleted" accessor with all items marked as deleted.  
> (its cleared out on flush()).
>
> On Apr 15, 2007, at 11:20 AM, Koen Bok wrote:
>
>
>
> > Is there a nice way to find out if an object has been deleted?
> > Ofcourse I could set a deleted = False on every mapped object and
> > subclass sqlalchemy's session object to set it to true when a delete()
> > is called on an object. But isn't there a less complicated way?
>
> > Koen


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to