mirror of
https://github.com/dg/dibi.git
synced 2025-08-19 12:21:46 +02:00
* added DibiTable
* new connection options: "result:objects" & "result:withtables" * renamed DibiDriverInterface -> IDibiDriver, DibiVariableInterface -> IDibiVariable
This commit is contained in:
@@ -36,7 +36,7 @@ class DibiConnection extends NObject
|
||||
private $config;
|
||||
|
||||
/**
|
||||
* DibiDriverInterface
|
||||
* IDibiDriver
|
||||
* @var array
|
||||
*/
|
||||
private $driver;
|
||||
@@ -254,7 +254,7 @@ class DibiConnection extends NObject
|
||||
$time = -microtime(TRUE);
|
||||
dibi::notify($this, 'beforeQuery', $sql);
|
||||
|
||||
$res = $this->driver->query($sql) ? new DibiResult(clone $this->driver) : TRUE; // backward compatibility - will be changed to NULL
|
||||
$res = $this->driver->query($sql) ? new DibiResult(clone $this->driver, $this->config) : TRUE; // backward compatibility - will be changed to NULL
|
||||
|
||||
$time += microtime(TRUE);
|
||||
dibi::$elapsedTime = $time;
|
||||
|
Reference in New Issue
Block a user