QGIS API Documentation 3.28.0-Firenze (ed3ad0430f)
|
The SqlVectorLayerOptions stores all information required to create a SQL (query) layer. More...
#include <qgsabstractdatabaseproviderconnection.h>
Public Attributes | |
bool | disableSelectAtId = false |
If SelectAtId is disabled (default is false), not all data providers support this feature: check support with SqlLayerDefinitionCapability::SelectAtId capability. More... | |
QString | filter |
Additional subset string (provider-side filter), not all data providers support this feature: check support with SqlLayerDefinitionCapability::Filters capability. More... | |
QString | geometryColumn |
Name of the geometry column. More... | |
QString | layerName |
Optional name for the new layer. More... | |
QStringList | primaryKeyColumns |
List of primary key column names. More... | |
QString | sql |
The SQL expression that defines the SQL (query) layer. More... | |
The SqlVectorLayerOptions stores all information required to create a SQL (query) layer.
Definition at line 240 of file qgsabstractdatabaseproviderconnection.h.
bool QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::disableSelectAtId = false |
If SelectAtId is disabled (default is false), not all data providers support this feature: check support with SqlLayerDefinitionCapability::SelectAtId capability.
Definition at line 253 of file qgsabstractdatabaseproviderconnection.h.
QString QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::filter |
Additional subset string (provider-side filter), not all data providers support this feature: check support with SqlLayerDefinitionCapability::Filters capability.
Definition at line 245 of file qgsabstractdatabaseproviderconnection.h.
QString QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::geometryColumn |
Name of the geometry column.
Definition at line 251 of file qgsabstractdatabaseproviderconnection.h.
QString QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::layerName |
Optional name for the new layer.
Definition at line 247 of file qgsabstractdatabaseproviderconnection.h.
QStringList QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::primaryKeyColumns |
List of primary key column names.
Definition at line 249 of file qgsabstractdatabaseproviderconnection.h.
QString QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::sql |
The SQL expression that defines the SQL (query) layer.
Definition at line 243 of file qgsabstractdatabaseproviderconnection.h.