On May 23, 2013, at 07:16 , Shyam Purkayastha <shyam.g...@gmail.com> wrote: > I am trying to play with the sql alchemy ORM based db definition with an > inmemory sqlite db. >
SQLite does not enforce foreign key constraints unless you manually tell it to. You can do that with a "PRAGMA foreign_keys=ON" statement. See section two of http://www.sqlite.org/foreignkeys.html for the exact details. Wichert. -- 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?hl=en. For more options, visit https://groups.google.com/groups/opt_out.