How to use [odbc.transaction.create]

The reference page of odbc.transaction.create has its arguments, constraints and declaration.

This slot creates a database transaction, and evaluates its lambda object inside of it. It works like [data.transaction.create]. Unless the transaction is explicitly committed before it leaves scope, it is rolled back, which is what happens below.

odbc.connect:sakila
   odbc.transaction.create
      odbc.execute:update actor set last_name = 'Smith' where actor_id = 1