1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-23 18:33:45 +01:00

15 Commits

Author SHA1 Message Date
David Grudl
de4a882788 - DibiResult: meta type Dibi::FIELD_BOOL resolves 'f' and 'F' as FALSE 2008-01-02 05:25:21 +00:00
David Grudl
041f059408 removed NClass 2007-12-11 07:28:55 +00:00
David Grudl
dfacb48449 * fixed DibiPostgreDriver::insertId
* changed URL to http://dibiphp.com
2007-12-05 09:27:55 +00:00
David Grudl
1a9abfb326 NClass moved to separate file 2007-11-26 01:44:07 +00:00
David Grudl
7c6947a019 * added dibi::date & dibi::datetime
* DibiConnection::insertId && affectedRows throws exception on failure
* added protected throwException() to drivers
* DibiPostgreDriver - can build connection string
* DibiSqliteDriver - support for parameters 'format:date' & 'format:datetime'
* fixed query errors in DibiSqliteDriver
* DibiConnection prevents serialization and multiple transactions
2007-11-23 23:27:14 +00:00
David Grudl
58ed8d34f4 DibiException is NException descendant 2007-11-18 02:29:11 +00:00
David Grudl
cbb315cbc7 * renamed DibiDatabaseException to DibiDriverException
* PDO driver convert PDOExceptions to DibiDriverException
2007-11-17 09:37:55 +00:00
David Grudl
6bfa40f594 added NException 2007-11-14 23:05:57 +00:00
David Grudl
0eeff53fe8 * DibiConnection::getConfig('name') returns name of connection
* seek() returns boolean again
* DibiDriver throws exception when is used after free()
2007-11-13 01:51:44 +00:00
David Grudl
d19eb5b815 fixed some bugs 2007-11-12 14:35:55 +00:00
David Grudl
46850aa588 * update DibiVariableInterface
* some bugs fixed
2007-11-12 07:33:23 +00:00
David Grudl
22c27f678a BIG REFACTORING!
* DibiDriver -> DibiConnection
2007-11-12 06:41:59 +00:00
David Grudl
ea00d5d37d * seek() or rowCount() in unbuffered mode throws exceptions
* out of range seek() throws exception
* deprecated DibiDriver::errorInfo
* fixed seek(0) on first iteration
* added DibiDatabaseException::catchError() & restore() for converting errors to exceptions
2007-11-12 01:39:26 +00:00
David Grudl
5ee6a19f93 * added support for unbuffered queries (MySQL, MySQLi, SQLite)
* doc-comments changed to be compatible with phpDocumentor
* DibiDriver::config() renamed to alias()
2007-11-12 00:08:29 +00:00
David Grudl
8a6d664876 * renamed some files libs
* added doc comments to drivers
* DibiDriver::prepare() renamed to config()
* fixed connection error handling in Postgre driver
2007-11-09 02:28:27 +00:00