24using namespace Qt::StringLiterals;
34 Q_UNUSED( fieldIndex )
44 const QVariantMap map = value.toMap();
45 for ( QVariantMap::const_iterator i = map.constBegin(); i != map.constEnd(); ++i )
47 if ( !result.isEmpty() )
48 result.append(
", " );
49 result.append( i.key() ).append(
": " ).append( i.value().toString() );
static QString nullRepresentation()
Returns the string used to represent the value NULL throughout QGIS.
static bool isNull(const QVariant &variant, bool silenceNullWarnings=false)
Returns true if the specified variant should be considered a NULL value.
Represents a vector layer which manages a vector based dataset.