17 Commits

Author SHA1 Message Date
Ondřej Fischer
28a61d7c12 const ref in table_property 2019-12-12 11:12:37 +01:00
Filip Bucek
e4673cf66a clang: fix warning + making TABLE_PROPERTY private 2019-12-02 10:02:09 +01:00
Filip Bucek
f387b600f7 DatabaseTable new method primaryKey 2019-11-19 14:15:40 +01:00
Filip Bucek
c038568124 adding filtered methods 2019-11-19 13:53:05 +01:00
Filip Bucek
7f369b075d unitest -> filteredJson ( maybe make universal ) 2019-11-19 13:40:19 +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
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
8821dfc9b2 removed TABLE_PROPERTY form default class
+ had to subclass
+ removed unused code
2019-11-14 13:33:17 +01:00
Filip Bucek
886cc3c777 added comment about subclassing DataTable 2019-11-14 10:54:02 +01:00
Filip Bucek
b92095a459 SQL type based command move to DatabaseTable 2019-11-13 07:51:15 +01:00
Filip Bucek
c4c51e5099 updated comments to DatabaseTable 2019-11-12 16:59:41 +01:00
Filip Bucek
136ee8300a added missing <memory> header file 2019-11-12 16:29:12 +01:00
Filip Bucek
eb2a6c92fa Possible to INSERT and SELECT from database 2019-11-12 16:16:39 +01:00
Filip Bucek
30925777b4 DatabaseTable can read and write data to JSON + manager can ignore ssl errors 2019-11-12 13:11:30 +01:00
Filip Bucek
a7831cae9c updated json handling in databasetable 2019-11-12 11:37:37 +01:00
Filip Bucek
d467feb7b9 SQLite with create and insert based on defined struct 2019-11-12 11:25:01 +01:00
Filip Bucek
d98ddf6c5f Adding database Table class for automated handling tables 2019-11-11 18:04:56 +01:00