29QList<QSharedPointer<PKG::DBObject>>
42 Q_UNUSED(currentTime);
The ISqlDB class it is db cache and bridge for DbWriters. Work Scheme of the database cache:
The DBObject class- main class for work with data base.
bool insertToCache(const QSharedPointer< PKG::DBObject > &obj) override final
void globalUpdateDataBasePrivate(qint64 currentTime) override final
globalUpdateDataBasePrivate This method update(write) all data from cache into database....
void globalUpdateDataBase(SqlDBCasheWriteMode mode) override final
globalUpdateDataBase This is base method for syncing data from the cache with database.
void pushToQueue(const QSharedPointer< PKG::DBObject > &obj, CacheAction type) override final
QList< QSharedPointer< PKG::DBObject > > getFromCache(const PKG::DBObject *obj) override final
getFromCache This method return strong pointer to the database object from cache (pool).
void deleteFromCache(const QSharedPointer< PKG::DBObject > &delObj) override final
bool updateCache(const QSharedPointer< PKG::DBObject > &obj) override final
The QH namespace - QuasarApp Heart namespace. This namespace contains all classes of the Heart librar...
SqlDBCasheWriteMode
The SqlDBCasheWriteMode enum contains list of available modes of write data into database.
@ Force
This mode writes all changes to the database as soon as they come to the cache.
CacheAction
The CacheAction enum contains types of database cache actions. The any database caches save all chang...