18 #ifndef QGSSERVERFEATUREID_H 19 #define QGSSERVERFEATUREID_H 26 #include "qgis_server.h"
SERVER_EXPORT QString getServerFid(const QgsFeature &feature, const QgsAttributeList &pkAttributes)
Returns the feature id based on primary keys.
The feature class encapsulates a single feature including its id, geometry and a list of field/values...
The QgsServerFeatureId namespace provides a way to use primary keys for feature id.
This class wraps a request for features to a vector layer (or directly its vector data provider)...
SERVER_EXPORT QgsFeatureRequest updateFeatureRequestFromServerFids(QgsFeatureRequest &featureRequest, const QStringList &serverFids, const QgsVectorDataProvider *provider)
Returns the feature request based on feature ids build with primary keys.
SERVER_EXPORT QString getExpressionFromServerFid(const QString &serverFid, const QgsVectorDataProvider *provider)
Returns the expression feature id based on primary keys.
QList< int > QgsAttributeList
This is the base class for vector data providers.
SERVER_EXPORT QString pkSeparator()
Returns the primary keys separator.