QGIS API Documentation
3.24.2-Tisler (13c1a02865)
|
The QgsPostgresStringUtils provides functions to handle postgres array like formatted lists in strings. More...
#include <qgspostgresstringutils.h>
Static Public Member Functions | |
static QString | buildArray (const QVariantList &list) |
Build a postgres array like formatted list in a string from a QVariantList. More... | |
static QVariantList | parseArray (const QString &string) |
Returns a QVariantList created out of a string containing an array in postgres array format {1,2,3} or {"a","b","c"}. More... | |
The QgsPostgresStringUtils provides functions to handle postgres array like formatted lists in strings.
Definition at line 34 of file qgspostgresstringutils.h.
|
static |
Build a postgres array like formatted list in a string from a QVariantList.
list | The list that needs to be stored to the string |
Definition at line 122 of file qgspostgresstringutils.cpp.
|
static |
Returns a QVariantList created out of a string containing an array in postgres array format {1,2,3} or {"a","b","c"}.
string | The formatted list in a string |
Definition at line 67 of file qgspostgresstringutils.cpp.