[sqlalchemy] Re: sqlalchemy.orm.attributes.InstrumentedList

2007-04-15 Thread Disrupt07

@svilen
Thanks


--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[sqlalchemy] Re: Find out which objects were deleted

2007-04-15 Thread Michael Bayer

youll have to track that deleted list before the flush and copy its  
contents somewhere.

On Apr 15, 2007, at 7:39 PM, Koen Bok wrote:

>
> 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
-~--~~~~--~~--~--~---



[sqlalchemy] Re: Find out which objects were deleted

2007-04-15 Thread Koen Bok

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
-~--~~~~--~~--~--~---



[sqlalchemy] Re: Find out which objects were deleted

2007-04-15 Thread Michael Bayer

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 [EMAIL PROTECTED]
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
-~--~~~~--~~--~--~---



[sqlalchemy] Find out which objects were deleted

2007-04-15 Thread Koen Bok

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 [EMAIL PROTECTED]
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
-~--~~~~--~~--~--~---



[sqlalchemy] Re: PDF Documentation?

2007-04-15 Thread Oleg Deribas

Hello,

gDog said the following on 15.04.2007 2:39:

> I have just fired up SQLAlchemy and went through the tutorial on the
> web.  I would like to print the full manual (I just learn better with
> a hard copy on hand).  Is there a PDF or other printable copy of the
> manual?

http://groups.google.com/group/sqlalchemy/files?hl=en

-- 
Oleg


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