Commit Graph

6 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
ab814ef9b0 [Qt] Guarantee QSqlDatabase connection name uniqueness
Guarantee QSqlDatabase connection name uniqueness by using a static
counter together with the current thread.
2017-02-01 17:00:17 +02:00
Thiago Marcos P. Santos
a8225b8fff [Qt] Make datatypes compatible with the default implementation
On the default all integers map to `sqlite3_bind_int64`.
2017-01-26 18:37:42 +02:00
Bruno de Oliveira Abinader
00b4baff5f [Qt] Check for Qt SQLite database driver 2017-01-23 19:06:53 +02:00
Thiago Marcos P. Santos
1c759cfa09 [Qt] Explicitly map the bool binder to int
On Qt4 and Qt5 the QVariant conversion from bool behaves differently.
2017-01-23 19:06:53 +02:00
Thiago Marcos P. Santos
1065917e59 [Qt] Save a copy when using binary data if possible 2017-01-23 19:06:53 +02:00
Bruno de Oliveira Abinader
88b7fc3929 [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSql 2017-01-23 19:06:53 +02:00