Class: QgsVectorLayerUndoPassthroughCommandUpdate¶
-
class
qgis.core.
QgsVectorLayerUndoPassthroughCommandUpdate
(buffer: QgsVectorLayerEditBuffer, transaction: QgsTransaction, sql: str, name: str)¶ Bases:
QgsVectorLayerUndoPassthroughCommand
Constructor for
QgsVectorLayerUndoCommandUpdate
- Parameters
buffer (QgsVectorLayerEditBuffer) – associated edit buffer
transaction (QgsTransaction) – transaction running the sql query
sql (str) – the query
name (str) – The name of the command
Undo command for running a specific sql query in transaction group.
-
errorMessage
()¶
-
redo
(self)¶
-
rollBackToSavePoint
()¶
-
setError
()¶
-
setErrorMessage
()¶
-
setSavePoint
()¶
-
undo
(self)¶