QGIS/python/core/auto_generated/qgspostgresstringutils.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

58 lines
1.8 KiB
Plaintext

/************************************************************************
* 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")
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 *
************************************************************************/