ondelete and onupdate are keyword arguments within ForeignKey() itself, and they come out as part of the DDL when you call metadata.create_all().
On Dec 23, 2008, at 8:42 PM, justmike2...@gmail.com wrote: > > I seem to be running into a problem with implementing cascades in > sqlalch. Next to my ForeignKey() I have ondelete and onupdate both > set to "CASCADE" and in my mapper I have this: > > mapper(queue, queue_table, properties=dict(parent=relation(queue, > backref='JOBS'))) > > However the cascade is not being listed in MSSQL. > > --~--~---------~--~----~------------~-------~--~----~ 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 sqlalchemy+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---