14 Commits

Author SHA1 Message Date
Filip Bucek
ec406abc6f clang: fixing warnings without impact on function 2019-12-02 09:55:59 +01:00
Filip Bucek
9cc150d50b fixing unittest ( update unittest, primary key, camelCase ) 2019-11-19 10:17:22 +01:00
Filip Bucek
793bfde1de Example in tst_databasetable how to handle different Json / Table data
+ camel case handling
2019-11-18 10:41:24 +01:00
Filip Bucek
4dfd4227cb Merge branch 'refs/heads/master' into possible-change
# Conflicts:
#	src/serversdk/databaseutils.h
2019-11-14 14:56:13 +01:00
Ondřej Fischer
34d112062c add function for UPDATE, needs to be edited 2019-11-14 14:46:44 +01:00
Filip Bucek
ad68c85086 fixing previous build: now using DatabaseUtils to get data from table
QSqlQuery selectSQL = db.execPlainSql("SELECT * FROM names");
auto list = utils.tableFromQuery<Names>(selectSQL);
2019-11-14 14:37:47 +01:00
Filip Bucek
b92095a459 SQL type based command move to DatabaseTable 2019-11-13 07:51:15 +01:00
Filip Bucek
16fe2db973 added support for Postgresql database 2019-11-12 17:42:54 +01:00
Filip Bucek
493d82896b added missing <memory> header file 2019-11-12 16:22:42 +01:00
Filip Bucek
eb2a6c92fa Possible to INSERT and SELECT from database 2019-11-12 16:16:39 +01:00
Filip Bucek
174ede92ee fixing unittests ( using guiless app ) 2019-11-12 14:13:39 +01:00
Filip Bucek
d467feb7b9 SQLite with create and insert based on defined struct 2019-11-12 11:25:01 +01:00
Filip Bucek
995898c00c cppcheck: explicit constructor 2019-11-11 18:09:44 +01:00
Filip Bucek
d98ddf6c5f Adding database Table class for automated handling tables 2019-11-11 18:04:56 +01:00