WireDatabaseDialect::supportsTransaction()
Are transactions available with current DB engine (or table)?
Usage
// basic usage
$bool = $wireDatabaseDialect->supportsTransaction();
// usage with all arguments
$bool = $wireDatabaseDialect->supportsTransaction(string $table = '');Arguments
| Name | Type(s) | Description |
|---|---|---|
$table (optional) | string |
Return value
bool
WireDatabaseDialect methods and properties
API reference based on ProcessWire core version 3.0.275