Lucee Function Reference
gettransactionisolation()
Returns the isolation level of the current transaction as a string. If a datasource is provided and no explicit isolation is set, returns the datasource's default isolation level.
Example
gettransactionisolation([string datasource]):string
Category
query,datasource,transaction
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| datasource | string | No | Datasource name. When provided and no explicit isolation is set on the transaction, returns the datasource's default isolation level. |