[odb-users] sqlite ON UPDATE CASCADE

MM finjulhich at gmail.com
Tue Oct 23 09:43:25 EDT 2018


Hello,

The sql generated by odb say for a member that is std::vector<T> includes a
foreign constraint "ON DELETE CASCADE" so that is the containing object is
deleted from the master table, the relevant rows are deleted from the slave
table.

Is there a pragma to generate "ON UPDATE CASCADE" as well?

Thank you


More information about the odb-users mailing list