Class: QgsHstoreUtils

class qgis.core.QgsHstoreUtils

Bases: sip.simplewrapper

Methods

build

Build a hstore-formatted string from a QVariantMap.

parse

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

build(map: Dict[str, Any]) str

Build a hstore-formatted string from a QVariantMap.

Parameters:

map (Dict[str) – The map to format as a string

New in version 3.4.

Return type:

str

parse(string: str) Dict[str, Any]

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

Parameters:

string (str) – The hstored-formatted string

New in version 3.4.

Return type:

Dict[str, Any]