Feature Request: Database Transactions / Snapshots #175
Unanswered
strongly-typed
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I essence, the CWAPI is doing (complex) transformations on the internal database of Cadwork.
When a (complex) script has a bug and therefore an exception it is only partly executed and and I have only partial work, e.g. only 100 of 200 walls modified.
Is there the concept of a database transaction in CWAPI so that an automagically roll-back is done when a script is only partly executed? Or can I create a snapshot at the beginning of my script and switch back to this snapshot if my script fails (due to a bug in my script)?
I cannot create all my scripts idempotent.
Any hints welcome!
Beta Was this translation helpful? Give feedback.
All reactions