QGIS API Documentation 3.41.0-Master (cea29feecf2)
Loading...
Searching...
No Matches
Functions
QgsHstoreUtils Namespace Reference

The QgsHstoreUtils namespace provides functions to handle hstore-formatted strings. More...

Functions

CORE_EXPORT QString build (const QVariantMap &map)
 Build a hstore-formatted string from a QVariantMap.
 
CORE_EXPORT QVariantMap parse (const QString &string)
 Returns a QVariantMap object containing the key and values from a hstore-formatted string.
 

Detailed Description

The QgsHstoreUtils namespace provides functions to handle hstore-formatted strings.

Since
QGIS 3.4

Function Documentation

◆ build()

QString QgsHstoreUtils::build ( const QVariantMap &  map)

Build a hstore-formatted string from a QVariantMap.

Parameters
mapThe map to format as a string
Since
QGIS 3.4

Definition at line 88 of file qgshstoreutils.cpp.

◆ parse()

QVariantMap QgsHstoreUtils::parse ( const QString &  string)

Returns a QVariantMap object containing the key and values from a hstore-formatted string.

Parameters
stringThe hstored-formatted string
Since
QGIS 3.4

Definition at line 20 of file qgshstoreutils.cpp.