QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCSqlHelper.h File Reference
#include <QtCore/QString>
#include <QtSql/QSqlDatabase>
#include <QtSql/QSqlQuery>
#include <atomic>
#include <optional>
+ Include dependency graph for QGCSqlHelper.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  QGCSqlHelper::ScopedConnection
 RAII wrapper around QSqlDatabase::addDatabase / removeDatabase. More...
 
class  QGCSqlHelper::Transaction
 RAII wrapper around QSqlDatabase::transaction()/commit()/rollback(). More...
 

Namespaces

namespace  QGCSqlHelper
 Lightweight SQL utilities shared across QGC components.
 

Functions

QString QGCSqlHelper::escapeLikePattern (const QString &text)
 
QString QGCSqlHelper::placeholders (int n)
 
void QGCSqlHelper::applySqlitePragmas (QSqlDatabase &db)
 
std::optional< int > QGCSqlHelper::userVersion (QSqlDatabase &db)
 
bool QGCSqlHelper::setUserVersion (QSqlDatabase &db, int v)