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

20 Commits

Author SHA1 Message Date
David Grudl
6e35a783c7 examples: data files moved to directory "data" 2010-08-03 13:41:05 +02:00
David Grudl
4235b3564f DibiResult: rewritten associate descriptor syntax 2009-10-06 18:09:13 +02:00
David Grudl
8d063fe0a1 - added DibiPostgreDriver::getIndexes()
- implemented DibiTables types autodetection
- all examples uses Nette::Debug
2008-10-28 19:31:32 +00:00
David Grudl
c0bd3761de modified SVN properties 2008-07-17 03:51:29 +00:00
David Grudl
7bb5684d71 code formatting: 4 spaces -> tabs 2008-05-12 00:30:59 +00:00
David Grudl
cbd37021f2 * new: qualifiy each column name with the table name using DibiResult::setWithTables
* removed DibiResult::setType(TRUE) with autodetection
* removed DibiResult::getFields() & getMetaData() in favour of new method getColumnsMeta()
* MySQLi and MySQL transaction implementation are the same
* better escaping in DibiPostgreDriver (new pg_escape_string and addslashes)
2007-11-30 10:12:45 +00:00
David Grudl
981a1adaad Changed symbols for fetchAssoc: # means index, = means record field 2007-11-18 09:16:54 +00:00
David Grudl
40444c1341 * added dibi::fetch, dibi::fetchAll, dibi::fetchSingle
* some bugs fixed
2007-11-12 16:20:44 +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
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
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
f766827219 bugfix, enhanced error reporting, better examples 2007-05-11 22:25:32 +00:00
David Grudl
f64a5d5251 * fixed affectedRows & insertId bug 2007-03-26 06:22:53 +00:00
David Grudl
0c86515076 * modified DibiException (getDbError, ...)
* fix dibi::dumpResult()
2007-02-02 03:51:43 +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
ac980fe8c9 + DibiResult::fetchAll()
* changed year in headers (2007)
2007-01-08 00:55:11 +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
0951ea574c update to 0.6 2006-06-07 15:50:32 +00:00
David Grudl
0d18c4c366 update to 0.5alpha 2006-06-04 23:06:33 +00:00