This chapter gives a general introduction to the capabilities of Qt’s SQL classes, using Sqlite as an example back-end.
Learning Structured Query Language (SQL)?
Do not bother learning SQL with any book that claims to be on “standard” SQL. The best manual to read is the reference guide for your chosen database server software because each server supports slightly different syntax and data types. Fortunately, with the exception of creating tables and other DDL queries, mapping between SQL values and QVariant is made quite easy for you by the QSql application programming interface (API). When you have used more than one database, you should either look for an abstraction layer (which might end up being an obstruction ...
With Safari, you learn the way you learn best. Get unlimited access to videos, live online training,
learning paths, books, interactive tutorials, and more.