QGIS API Documentation  3.8.0-Zanzibar (11aff65)
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. More...
 
CORE_EXPORT QVariantMap parse (const QString &string)
 Returns a QVariantMap object containing the key and values from a hstore-formatted string. More...
 

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.