Skip to main content

Transactional

Attribute Macro Transactional 

Source
#[Transactional]
Expand description

#[Transactional] — wrap the handler in a database transaction on the request-tenant’s pool: commit on Ok, rollback on Err/cancellation. Consumed by #[Controller]; pass-through marker on free fns.