Class: QgsServerFeatureId¶
- class qgis.server.QgsServerFeatureId¶
Bases:
sip.simplewrapper
Methods
Returns the expression feature id based on primary keys.
Returns the feature id based on primary keys.
Returns the primary keys separator
Returns the feature request based on feature ids build with primary keys.
- getExpressionFromServerFid(serverFid: str, provider: QgsVectorDataProvider) str ¶
Returns the expression feature id based on primary keys.
- Parameters:
serverFid (str) – the feature id build with primary keys
provider (QgsVectorDataProvider) – the vector layer provider to provide fields and primary keys list
- Return type:
str
- Returns:
the feature id based on primary keys
New in version 3.4.9.
- getServerFid(feature: QgsFeature, pkAttributes: Iterable[int]) str ¶
Returns the feature id based on primary keys.
- Parameters:
feature (QgsFeature) – the feature
pkAttributes (Iterable[int]) – the primary keys list
- Return type:
str
- Returns:
the feature id based on primary keys
New in version 3.4.9.
- pkSeparator() str ¶
Returns the primary keys separator
- Return type:
str
- Returns:
@@ the primary keys separator
New in version 3.4.9.
- updateFeatureRequestFromServerFids(featureRequest: QgsFeatureRequest, serverFids: Iterable[str], provider: QgsVectorDataProvider) QgsFeatureRequest ¶
Returns the feature request based on feature ids build with primary keys.
- Parameters:
featureRequest (QgsFeatureRequest) – the feature request to update
serverFids (Iterable[str]) – the feature ids build with
QgsServerFeatureId
.getServerFidprovider (QgsVectorDataProvider) – the vector layer provider to provide fields and primary keys list
- Return type:
- Returns:
the feature request updated
New in version 3.4.9.