Class: QgsVectorLayerUndoPassthroughCommandUpdate

class qgis.core.QgsVectorLayerUndoPassthroughCommandUpdate(buffer: QgsVectorLayerEditBuffer, transaction: QgsTransaction, sql: str, name: str)

Bases: qgis._core.QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoCommandUpdate

Parameters:
  • buffer – associated edit buffer
  • transaction – transaction running the sql query
  • sql – the query
  • name – The name of the command

Undo command for running a specific sql query in transaction group.

New in version 3.0: Enums

Methods

errorMessage
redo
rollBackToSavePoint
setError
setErrorMessage
setSavePoint
undo

Signals

Attributes

errorMessage()
redo(self)
rollBackToSavePoint()
setError()
setErrorMessage()
setSavePoint()
undo(self)