QGIS API Documentation 3.41.0-Master (fda2aa46e9a)
|
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. | |
QString | filter |
Additional subset string (provider-side filter), not all data providers support this feature: check support with SqlLayerDefinitionCapability::Filters capability. | |
QString | geometryColumn |
Name of the geometry column. | |
QString | layerName |
Optional name for the new layer. | |
QStringList | primaryKeyColumns |
List of primary key column names. | |
QString | sql |
The SQL expression that defines the SQL (query) layer. | |
The SqlVectorLayerOptions stores all information required to create a SQL (query) layer.
Definition at line 241 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 254 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 246 of file qgsabstractdatabaseproviderconnection.h.
QString QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::geometryColumn |
Name of the geometry column.
Definition at line 252 of file qgsabstractdatabaseproviderconnection.h.
QString QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::layerName |
Optional name for the new layer.
Definition at line 248 of file qgsabstractdatabaseproviderconnection.h.
QStringList QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::primaryKeyColumns |
List of primary key column names.
Definition at line 250 of file qgsabstractdatabaseproviderconnection.h.
QString QgsAbstractDatabaseProviderConnection::SqlVectorLayerOptions::sql |
The SQL expression that defines the SQL (query) layer.
Definition at line 244 of file qgsabstractdatabaseproviderconnection.h.