1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-23 10:26:21 +01:00

23 Commits

Author SHA1 Message Date
David Grudl
9ff43d0ac3 added DibiDriver::disconnect() 2007-11-10 07:37:44 +00:00
David Grudl
25fa4293fc * new exceptions: BadMethodCallException, InvalidArgumentException
* DibiMySqlDriver, DibiMySqliDriver, DibiSqliteDriver, DibiOracleDriver: error checking instead of FALSE checking in doQuery
2007-11-08 03:32:37 +00:00
David Grudl
d35a850311 * removed $throwExceptions (always throws)
* added DibiLogger, dibi::notify(), dibi::startLogger()
* miniprofiler dibi::$numOfQueries, $totalTime, $elapsedTime
* simplified DibiException, added DibiDatabaseException
* Dibi::nativeQuery splitted into DibiDriver::doQuery & nativeQuery()
* moved dibi::dumpResult -> DibiResult::dump()
* moved dibi::test() -> DibiDriver::test()
* DibiTranslator generates $mask
2007-09-29 07:53:25 +00:00
David Grudl
5243122e6a * support for big int & big floats 2007-08-27 22:38:14 +00:00
David Grudl
e33689a5a1 multi INSERT or REPLACE command 2007-05-30 00:01:10 +00:00
David Grudl
7452065de0 * new MS SQL driver
* removed constant DIBI
2007-05-13 18:32:03 +00:00
David Grudl
f766827219 bugfix, enhanced error reporting, better examples 2007-05-11 22:25:32 +00:00
David Grudl
af7c4de14a * removed static factory DibiDriver::connect()
* added support for lazy connections
2007-04-25 06:18:06 +00:00
David Grudl
166f716091 * quoteName -> delimite
* fixed mysql_connect bug
2007-04-16 03:01:55 +00:00
David Grudl
e834c0ccae modified phpDoc headers 2007-04-11 18:30:30 +00:00
David Grudl
89ee302927 - added parameter $name in dibi::getConnection()
- bug fixed error handling in SQlite driver
2007-04-06 07:34:48 +00:00
David Grudl
48ea525b04 * DibiDriver::query -> DibiDriver::nativeQuery
* Dibi::query moved to DibiDriver::query
* methods getFields(), detectTypes(), getMetaData() moved to base class DibiDriver
* added PDO driver (not tested)
2007-03-27 23:12:36 +00:00
David Grudl
f64a5d5251 * fixed affectedRows & insertId bug 2007-03-26 06:22:53 +00:00
David Grudl
4d2c90ba68 * support for default values (mysql.default_user etc...) 2007-02-14 18:27:06 +00:00
David Grudl
0c86515076 * modified DibiException (getDbError, ...)
* fix dibi::dumpResult()
2007-02-02 03:51:43 +00:00
David Grudl
a2b1036a66 * SET CHARACTER SET -> SET NAMES
* %p bug
2007-01-30 21:50:04 +00:00
David Grudl
6536dfb7dd + rewritten support for logging & error handling
+ modifier %sn
* modifier %sql
* changed modifier behaviour: NULL is always 'NULL'
2007-01-29 05:08:52 +00:00
David Grudl
3b8766d376 * throwing exception in DibiTranslator and DibiDriver
+ added dibi::$errorMode
2006-11-22 12:55:24 +00:00
David Grudl
f447a03c96 throwing exception on connect 2006-11-13 06:32:16 +00:00
David Grudl
2cc9fa22fb prefix & substitution support (0.6c) 2006-08-25 15:17:40 +00:00
David Grudl
1e3728c582 renamed some modifiers 2006-06-08 02:02:05 +00:00
David Grudl
0951ea574c update to 0.6 2006-06-07 15:50:32 +00:00
David Grudl
8361028ff3 updated headers 2006-06-07 11:48:20 +00:00