# setTransactionDefinition

abstract fun setTransactionDefinition(definition: TransactionDefinition?)

Sets specific transaction properties to be used together when starting a transaction explicitly. Passing a `null` argument will force `beginTransaction()` to be invoked without any transaction definition.

Note: This method should be called from within a transaction block at the start, before any operations that trigger may trigger connection retrieval & usage.