mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-23 00:02:38 -05:00
Tell the provider to reload the fields after a rollback and add some checks to verify if after the rollback the provider still needs to update the field. Followup https://github.com/OSGeo/gdal/pull/11695 Followup https://github.com/qgis/QGIS/pull/59797
9 lines
689 B
Python
9 lines
689 B
Python
# The following has been generated automatically from src/core/qgstransaction.h
|
|
try:
|
|
QgsTransaction.__attribute_docs__ = {'afterRollback': 'Emitted after a rollback\n', 'afterRollbackToSavepoint': 'Emitted after a rollback to savepoint\n\n.. versionadded:: 3.42\n', 'dirtied': 'Emitted if a sql query is executed and the underlying data is modified\n'}
|
|
QgsTransaction.create = staticmethod(QgsTransaction.create)
|
|
QgsTransaction.supportsTransaction = staticmethod(QgsTransaction.supportsTransaction)
|
|
QgsTransaction.__signal_arguments__ = {'afterRollbackToSavepoint': ['savepointName: str'], 'dirtied': ['sql: str', 'name: str']}
|
|
except (NameError, AttributeError):
|
|
pass
|