Class: QgsVectorLayerUndoCommandAddAttribute

class qgis.core.QgsVectorLayerUndoCommandAddAttribute(buffer: QgsVectorLayerEditBuffer, field: QgsField)

Bases: QgsVectorLayerUndoCommand

Constructor for QgsVectorLayerUndoCommandAddAttribute

Parameters

Undo command for adding a new attribute to a vector layer.

Methods

redo

undo

redo(self)
undo(self)