mirror of
https://github.com/dg/dibi.git
synced 2025-08-13 01:24:06 +02:00
DibiConnection: inTransaction() is back, implemented in drivers
This commit is contained in:
@@ -207,6 +207,17 @@ class DibiPostgreDriver extends DibiObject implements IDibiDriver
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Is in transaction?
|
||||
* @return bool
|
||||
*/
|
||||
public function inTransaction()
|
||||
{
|
||||
throw new NotSupportedException('PostgreSQL driver does not support transaction testing.');
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Returns the connection resource.
|
||||
* @return mixed
|
||||
|
Reference in New Issue
Block a user