1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspostgresstringutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
%ModuleHeaderCode
#include "qgspostgresstringutils.h"
%End
class QgsPostgresStringUtils
{
%Docstring(signature="appended")
The :py:class:`QgsPostgresStringUtils` provides functions to handle
postgres array like formatted lists in strings.
.. versionadded:: 3.8
%End
%TypeHeaderCode
#include "qgspostgresstringutils.h"
%End
public:
static QVariantList parseArray( const QString &string );
%Docstring
Returns a QVariantList created out of a string containing an array in
postgres array format {1,2,3} or {"a","b","c"}
:param string: The formatted list in a string
.. versionadded:: 3.8
%End
static QString buildArray( const QVariantList &list );
%Docstring
Build a postgres array like formatted list in a string from a
QVariantList
:param list: The list that needs to be stored to the string
.. versionadded:: 3.8
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgspostgresstringutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|