mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-30 20:15:35 +08:00
Ref T28, utility functions to get timestamps
This commit is contained in:
committed by
Mathew Sutcliffe
parent
595c71b387
commit
a0f2a168f9
@@ -50,6 +50,12 @@ namespace BlackMisc
|
||||
//! Update or insert data (based on DB key)
|
||||
int replaceOrAddObjectsByKey(const CONTAINER &container);
|
||||
|
||||
//! Latest DB timestamp (means objects with DB key)
|
||||
QDateTime latestDbTimestamp() const;
|
||||
|
||||
//! Latest DB timestamp (means objects with DB key)
|
||||
QDateTime oldestDbTimestamp() const;
|
||||
|
||||
//! From DB JSON with default prefixes
|
||||
static CONTAINER fromDatabaseJson(const QJsonArray &array);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user