with-transaction ( quot -- )


Vocabulary
db

Inputs
quota quotation


Outputs
None

Word description
Calls the quotation inside a database transaction and commits the result to the database after the quotation finishes. If the quotation throws an error, the transaction is aborted.

Definition