1
0
mirror of https://github.com/dg/dibi.git synced 2025-08-16 11:04:43 +02:00

- DibiPostgreDriver: added support for "schema"

- DibiTable::fetch($conditions) (experimental)
- DibiConnection no longer invokes autoloading
This commit is contained in:
David Grudl
2008-02-14 02:02:27 +00:00
parent 8da9e778a6
commit 2f9704bca2
4 changed files with 18 additions and 7 deletions

View File

@@ -26,6 +26,7 @@
* - 'string' - or use connection string
* - 'persistent' - try to find a persistent link?
* - 'charset' - character encoding to set
* - 'schema' - the schema search path
* - 'lazy' - if TRUE, connection will be established only when required
*
* @author David Grudl
@@ -105,6 +106,10 @@ class DibiPostgreDriver extends NObject implements IDibiDriver
DibiDriverException::restore();
}
if (isset($config['schema'])) {
$this->query('SET search_path TO ' . $config['schema']);
}
$this->escMethod = version_compare(PHP_VERSION , '5.2.0', '>=');
}