QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
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 qgs_sqlite3_mprintf (const char *format,...)
 Wraps sqlite3_mprintf() by automatically freeing the memory. More...
 

Function Documentation

◆ qgs_sqlite3_mprintf()

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

Wraps sqlite3_mprintf() by automatically freeing the memory.

Note
not available in Python bindings.
Since
QGIS 3.2

Definition at line 312 of file qgssqliteutils.cpp.