Description Usage Arguments Functions See Also
Transaction control allows changes in the data via dml
or ddl
to
be batched together in an "all-or-nothing" fashion.
1 2 3 4 5 6 7 8 9 |
object |
(obj) whose transactions are to be controlled. |
... |
(arg) passed to underlying functions |
transact
: Ensures that a transaction is in place; no-op if already
in a transaction
begin
: Starts a transaction; throws error if already in transaction
commit
: Commits the changes into the database
rollback
: Rolls back the transaction and cancels changes to the data
in_transaction
: Checks if the connection is in a transaction
Other Database Operations:
connect()
,
dml
,
execute()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.