QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Classes | Macros | Functions
qgssqliteutils.h File Reference
#include "qgis_core.h"
#include "qgis_sip.h"
#include <memory>
#include <QString>
Include dependency graph for qgssqliteutils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  QgsSqlite3Closer
 Closes a sqlite3 database. More...
 
struct  QgsSqlite3StatementFinalizer
 Finalizes an sqlite3 statement. More...
 
class  QgsSqliteUtils
 Contains utilities for working with Sqlite data sources. More...
 
class  sqlite3_database_unique_ptr
 Unique pointer for sqlite3 databases, which automatically closes the database when the pointer goes out of scope or is reset. More...
 
class  sqlite3_statement_unique_ptr
 Unique pointer for sqlite3 prepared statements, which automatically finalizes the statement when the pointer goes out of scope or is reset. More...
 

Macros

#define SIP_NO_FILE
 

Functions

QString CORE_EXPORT QgsSqlite3Mprintf (const char *format,...)
 Wraps sqlite3_mprintf() by automatically freeing the memory. More...
 

Macro Definition Documentation

#define SIP_NO_FILE

Definition at line 21 of file qgssqliteutils.h.

Function Documentation

QString CORE_EXPORT QgsSqlite3Mprintf ( const char *  format,
  ... 
)

Wraps sqlite3_mprintf() by automatically freeing the memory.

Note
not available in Python bindings.
Since
QGIS 3.2

Definition at line 119 of file qgssqliteutils.cpp.