QGIS API Documentation 3.43.0-Master (37eec98dbf6)
|
Contains utility functions for using primary keys for feature IDs. More...
#include <qgsserverfeatureid.h>
Static Public Member Functions | |
static QString | getExpressionFromServerFid (const QString &serverFid, const QgsVectorDataProvider *provider) |
Returns the expression feature id based on primary keys. | |
static QString | getServerFid (const QgsFeature &feature, const QgsAttributeList &pkAttributes) |
Returns the feature id based on primary keys. | |
static QString | pkSeparator () |
Returns the primary keys separator. | |
static QgsFeatureRequest | updateFeatureRequestFromServerFids (QgsFeatureRequest &featureRequest, const QStringList &serverFids, const QgsVectorDataProvider *provider) |
Returns the feature request based on feature ids build with primary keys. | |
Contains utility functions for using primary keys for feature IDs.
Definition at line 36 of file qgsserverfeatureid.h.
|
static |
Returns the expression feature id based on primary keys.
serverFid | the feature id build with primary keys |
provider | the vector layer provider to provide fields and primary keys list |
Definition at line 83 of file qgsserverfeatureid.cpp.
|
static |
Returns the feature id based on primary keys.
feature | the feature |
pkAttributes | the primary keys list |
Definition at line 24 of file qgsserverfeatureid.cpp.
|
static |
Returns the primary keys separator.
Definition at line 111 of file qgsserverfeatureid.cpp.
|
static |
Returns the feature request based on feature ids build with primary keys.
featureRequest | the feature request to update |
serverFids | the feature ids build with QgsServerFeatureId::getServerFid |
provider | the vector layer provider to provide fields and primary keys list |
Definition at line 39 of file qgsserverfeatureid.cpp.