On 10/05/2010 07:41 AM, ozwyzard wrote:
> I was able to get the cascaded delete to work by specifying the
> cascade="delete" parameter to the relation() directive.  It now
> deletes the related records even though the underlying DB does not
> honor the foreign-key cascade delete.
>
> I came across the above option (to relation()) after digging a bit
> more in the SQLAlchemy book.
>
this is unfortunately needed in sqlite too, though i encounter this with thicker
python wrapping against the rdbms.
could you please show your model, or tell us whether you use elixir?
> Thanks!
>
best regards,
alex

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.

Reply via email to