# 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.

**Introduced:** 7.1.0.70

```
getTransactionIsolation( datasource=string );
```

**Returns:** string

# Arguments

| Argument | Type | Required | Description | Default |
|----------|------|----------|-------------|---------|
| datasource | string | No | Datasource name. When provided and no explicit isolation is set on the transaction, returns the datasource's default isolation level. |  |

# Examples

*There are currently no examples for this function*







# Categories

[ORM](../../categories/orm.md)

# See Also

[<cftransaction>](../tags/transaction.md)