[Interest] QtSql database insertion issues...

André Somers andre at familiesomers.nl
Thu Apr 23 07:48:32 CEST 2015


Jason H schreef op 23-4-2015 om 04:38:
> I always execute CREATE TABLE IF NOT EXISTS table .... after connecting.

Problem is: there is no DDL support in Qt, so it is not possible to do 
that in a way that is database-agnostic. Your code will not work against 
all databases I think.

André

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150423/2714d620/attachment.html>


More information about the Interest mailing list