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

21 Commits

Author SHA1 Message Date
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
1aad1c8da9 * better syntax highlighting
* all drivers checks for extension in constructor
* DibiMySqlDriver - charset is set by mysql_set_charset
* DibiMySqliDriver - charset is set by mysqli_set_charset
2007-11-28 15:56:57 +00:00
David Grudl
c8fedf7692 optimizations 2007-11-23 23:50:57 +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
5f4dbbbcfd * some variables renamed 2007-06-25 17:02:12 +00:00
David Grudl
e33689a5a1 multi INSERT or REPLACE command 2007-05-30 00:01:10 +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
3b8766d376 * throwing exception in DibiTranslator and DibiDriver
+ added dibi::$errorMode
2006-11-22 12:55:24 +00:00
David Grudl
da608c2db2 substitutes moved from DibiDriver to Dibi
changed "comments" behavior in DibiParser
2006-09-23 06:34:44 +00:00
David Grudl
b779082ed9 2006-06-08 02:08:01 +00:00
David Grudl
1e3728c582 renamed some modifiers 2006-06-08 02:02:05 +00:00
David Grudl
3030881f07 parser updates, DibiResult:: to Dibi:: 2006-06-08 01:35:44 +00:00
David Grudl
18d3dd444d embedded SQL moved to formatValue() 2006-06-07 22:33:19 +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