bx-orm-transactions
Installation
SKILL.md
bx-orm: Transactions & Session Management
Basic transaction {} Block
// All entitySave/entityDelete calls within the block are committed atomically.
// On uncaught exception: automatic rollback
// On clean exit: automatic commit
transaction {
var user = entityNew( "User" )
user.setUsername( "alice" )
user.setEmail( "alice@example.com" )
entitySave( user )
}