QGIS API Documentation 3.43.0-Master (9e873c7bc91)
Loading...
Searching...
No Matches
Public Attributes | List of all members
QgsAbstractDatabaseProviderConnection::VectorLayerExporterOptions Struct Reference

Stores all information required to create a QgsVectorLayerExporter for the backend. More...

#include <qgsabstractdatabaseproviderconnection.h>

Public Attributes

QString geometryColumn
 Preferred name for the geometry column, if required. Note that some providers may ignore this if a specific geometry column name is required.
 
QString layerName
 Name for the new layer.
 
QStringList primaryKeyColumns
 List of primary key column names. Note that some providers may ignore this if not supported.
 
QString schema
 Optional schema for the new layer. May not be supported by all providers.
 
Qgis::WkbType wkbType = Qgis::WkbType::NoGeometry
 WKB type for destination layer geometry.
 

Detailed Description

Stores all information required to create a QgsVectorLayerExporter for the backend.

See also
createVectorLayerExporterDestinationUri()
Since
QGIS 3.44

Definition at line 620 of file qgsabstractdatabaseproviderconnection.h.

Member Data Documentation

◆ geometryColumn

QString QgsAbstractDatabaseProviderConnection::VectorLayerExporterOptions::geometryColumn

Preferred name for the geometry column, if required. Note that some providers may ignore this if a specific geometry column name is required.

Definition at line 635 of file qgsabstractdatabaseproviderconnection.h.

◆ layerName

QString QgsAbstractDatabaseProviderConnection::VectorLayerExporterOptions::layerName

Name for the new layer.

Definition at line 623 of file qgsabstractdatabaseproviderconnection.h.

◆ primaryKeyColumns

QStringList QgsAbstractDatabaseProviderConnection::VectorLayerExporterOptions::primaryKeyColumns

List of primary key column names. Note that some providers may ignore this if not supported.

Definition at line 632 of file qgsabstractdatabaseproviderconnection.h.

◆ schema

QString QgsAbstractDatabaseProviderConnection::VectorLayerExporterOptions::schema

Optional schema for the new layer. May not be supported by all providers.

Definition at line 626 of file qgsabstractdatabaseproviderconnection.h.

◆ wkbType

Qgis::WkbType QgsAbstractDatabaseProviderConnection::VectorLayerExporterOptions::wkbType = Qgis::WkbType::NoGeometry

WKB type for destination layer geometry.

Definition at line 629 of file qgsabstractdatabaseproviderconnection.h.


The documentation for this struct was generated from the following file: