QGIS API Documentation 3.39.0-Master (e8f1b343c48)
|
The QgsServerFeatureId namespace provides a way to use primary keys for feature id. More...
Functions | |
SERVER_EXPORT QString | getExpressionFromServerFid (const QString &serverFid, const QgsVectorDataProvider *provider) |
Returns the expression feature id based on primary keys. | |
SERVER_EXPORT QString | getServerFid (const QgsFeature &feature, const QgsAttributeList &pkAttributes) |
Returns the feature id based on primary keys. | |
SERVER_EXPORT QString | pkSeparator () |
Returns the primary keys separator. | |
SERVER_EXPORT QgsFeatureRequest | updateFeatureRequestFromServerFids (QgsFeatureRequest &featureRequest, const QStringList &serverFids, const QgsVectorDataProvider *provider) |
Returns the feature request based on feature ids build with primary keys. | |
The QgsServerFeatureId namespace provides a way to use primary keys for feature id.
QString QgsServerFeatureId::getExpressionFromServerFid | ( | const QString & | serverFid, |
const QgsVectorDataProvider * | provider | ||
) |
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.
QString QgsServerFeatureId::getServerFid | ( | const QgsFeature & | feature, |
const QgsAttributeList & | pkAttributes | ||
) |
Returns the feature id based on primary keys.
feature | the feature |
pkAttributes | the primary keys list |
Definition at line 24 of file qgsserverfeatureid.cpp.
QString QgsServerFeatureId::pkSeparator | ( | ) |
Returns the primary keys separator.
Definition at line 111 of file qgsserverfeatureid.cpp.
QgsFeatureRequest QgsServerFeatureId::updateFeatureRequestFromServerFids | ( | QgsFeatureRequest & | featureRequest, |
const QStringList & | serverFids, | ||
const QgsVectorDataProvider * | provider | ||
) |
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.