QGIS API Documentation  3.10.0-A Coruña (6c816b4204)
Classes | 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...
 

Functions

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

Function Documentation

◆ QgsSqlite3Mprintf()

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 173 of file qgssqliteutils.cpp.