QGIS API Documentation
3.4.15-Madeira (e83d02e274)
|
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. More... | |
SERVER_EXPORT QString | getServerFid (const QgsFeature &feature, const QgsAttributeList &pkAttributes) |
Returns the feature id based on primary keys. More... | |
SERVER_EXPORT QString | pkSeparator () |
Returns the primary keys separator. More... | |
SERVER_EXPORT QgsFeatureRequest | updateFeatureRequestFromServerFids (QgsFeatureRequest &featureRequest, const QStringList &serverFids, const QgsVectorDataProvider *provider) |
Returns the feature request based on feature ids build with primary keys. More... | |
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 84 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 112 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 40 of file qgsserverfeatureid.cpp.