1
0
mirror of https://github.com/dg/dibi.git synced 2025-10-29 12:46:15 +01:00

Commit Graph

  • 1459c6c95d updated headers David Grudl 2008-02-15 04:51:35 +00:00
  • 2f9704bca2 - DibiPostgreDriver: added support for "schema" - DibiTable::fetch($conditions) (experimental) - DibiConnection no longer invokes autoloading David Grudl 2008-02-14 02:02:27 +00:00
  • 8da9e778a6 added new Nette exceptions David Grudl 2008-02-01 02:12:36 +00:00
  • 89dfa9f772 fixed bug in conditional SQL David Grudl 2008-01-20 01:50:30 +00:00
  • 18e02de80c - REWRITTEN DibiTranslar - allows modifiers inside SQL -> modifiers become placeholders - new modifier %ex - expand array - new modifiers %or and %and - changed interface IDibiVariable and implementation DibiVariable David Grudl 2008-01-18 07:35:45 +00:00
  • f6b781f12d - added DibiDataSource as default implementation of IDataSource - new modifiers %lmt %ofs - removed old modifier %p (alias for %sql) David Grudl 2008-01-18 02:57:43 +00:00
  • c41167d49f bug fixed David Grudl 2008-01-15 05:40:08 +00:00
  • 5c045e58dc * added DibiTable * new connection options: "result:objects" & "result:withtables" * renamed DibiDriverInterface -> IDibiDriver, DibiVariableInterface -> IDibiVariable David Grudl 2008-01-15 03:43:03 +00:00
  • da0a239d6d * dibi::loadFile() extreme fast SQL dump loading David Grudl 2008-01-12 01:20:23 +00:00
  • de4a882788 - DibiResult: meta type Dibi::FIELD_BOOL resolves 'f' and 'F' as FALSE David Grudl 2008-01-02 05:25:21 +00:00
  • 041f059408 removed NClass David Grudl 2007-12-11 07:28:55 +00:00
  • 2c8906e7c4 * new: DibiResult::fetchAssoc() supports "object" mode via @ descriptor * fixed mysqli_set_charset in PHP < 5.1.5 David Grudl 2007-12-07 16:51:17 +00:00
  • dfacb48449 * fixed DibiPostgreDriver::insertId * changed URL to http://dibiphp.com David Grudl 2007-12-05 09:27:55 +00:00
  • 7d964e054b * fixed identifier delimitation in DibiPostgreDriver (table.col -> table."col") * better SQL syntax highlighting * removed addslashes from DibiPostgreDriver David Grudl 2007-12-01 17:24:49 +00:00
  • 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) David Grudl 2007-11-30 10:12:45 +00:00
  • 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 David Grudl 2007-11-28 15:56:57 +00:00
  • 1a9abfb326 NClass moved to separate file David Grudl 2007-11-26 01:44:07 +00:00
  • a0febd3d50 * added support for affectedRows in DibiPdoDriver David Grudl 2007-11-24 08:23:26 +00:00
  • c8fedf7692 optimizations David Grudl 2007-11-23 23:50:57 +00:00
  • 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 David Grudl 2007-11-23 23:27:14 +00:00
  • 3f42b2cf55 - added DibiVariable (experimental) - fixed bug in DibiPostgreDriver::insertId() David Grudl 2007-11-22 10:35:23 +00:00
  • 981a1adaad Changed symbols for fetchAssoc: # means index, = means record field David Grudl 2007-11-18 09:16:54 +00:00
  • 58ed8d34f4 DibiException is NException descendant David Grudl 2007-11-18 02:29:11 +00:00
  • cbb315cbc7 * renamed DibiDatabaseException to DibiDriverException * PDO driver convert PDOExceptions to DibiDriverException David Grudl 2007-11-17 09:37:55 +00:00
  • c174e20135 David Grudl 2007-11-15 00:19:41 +00:00
  • 6bfa40f594 added NException David Grudl 2007-11-14 23:05:57 +00:00
  • 0eeff53fe8 * DibiConnection::getConfig('name') returns name of connection * seek() returns boolean again * DibiDriver throws exception when is used after free() David Grudl 2007-11-13 01:51:44 +00:00
  • 40444c1341 * added dibi::fetch, dibi::fetchAll, dibi::fetchSingle * some bugs fixed David Grudl 2007-11-12 16:20:44 +00:00
  • d19eb5b815 fixed some bugs David Grudl 2007-11-12 14:35:55 +00:00
  • 46850aa588 * update DibiVariableInterface * some bugs fixed David Grudl 2007-11-12 07:33:23 +00:00
  • 89c53395c1 David Grudl 2007-11-12 06:43:09 +00:00
  • 22c27f678a BIG REFACTORING! * DibiDriver -> DibiConnection David Grudl 2007-11-12 06:41:59 +00:00
  • 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 David Grudl 2007-11-12 01:39:26 +00:00
  • 5ee6a19f93 * added support for unbuffered queries (MySQL, MySQLi, SQLite) * doc-comments changed to be compatible with phpDocumentor * DibiDriver::config() renamed to alias() David Grudl 2007-11-12 00:08:29 +00:00
  • fd1d2b86ff added NClass David Grudl 2007-11-11 04:59:39 +00:00
  • 9ff43d0ac3 added DibiDriver::disconnect() David Grudl 2007-11-10 07:37:44 +00:00
  • 8a6d664876 * renamed some files libs * added doc comments to drivers * DibiDriver::prepare() renamed to config() * fixed connection error handling in Postgre driver David Grudl 2007-11-09 02:28:27 +00:00
  • 6492fe10b6 * added NObject David Grudl 2007-11-08 21:35:30 +00:00
  • 8b99c00f91 fetchAssoc() && fetchPairs() throws exceptions David Grudl 2007-11-08 06:19:03 +00:00
  • 25fa4293fc * new exceptions: BadMethodCallException, InvalidArgumentException * DibiMySqlDriver, DibiMySqliDriver, DibiSqliteDriver, DibiOracleDriver: error checking instead of FALSE checking in doQuery David Grudl 2007-11-08 03:32:37 +00:00
  • 453cc9be13 David Grudl 2007-11-01 05:52:13 +00:00
  • 917b0851da added icon dibi-powered.gif David Grudl 2007-11-01 02:06:47 +00:00
  • 6856ace01e Changed New BSD License to "dibi license" David Grudl 2007-10-30 00:58:15 +00:00
  • 330930fb34 fixed boolean value in Postgre driver David Grudl 2007-10-28 18:04:23 +00:00
  • 39c62c1cd5 * added configuration aliases (user -> username, pass -> password) * dibi::$defaultDriver David Grudl 2007-10-26 17:44:24 +00:00
  • 879bbeba1f changed website to http://php7.org/dibi/ David Grudl 2007-10-13 22:50:29 +00:00
  • eb5b3d9756 + untested Oracle driver David Grudl 2007-10-02 08:20:36 +00:00
  • ccea418c34 DibiDriver::doQuery returns TRUE or DibiResult David Grudl 2007-10-01 05:34:50 +00:00
  • 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 David Grudl 2007-09-29 07:53:25 +00:00
  • 0d8478d1d3 - dibi::substitute -> dibi::getSubst - dibi:removeSubst(TRUE) removes all substitutes David Grudl 2007-09-27 07:56:43 +00:00
  • 281cdb65e0 * added dibi::addHandler & dibi::invokeEvent * logging moved from DibiDriver -> Dibi::afterQuery() David Grudl 2007-08-29 08:17:45 +00:00
  • 53874f22d4 * support for sequence name in dibi::insertId() & DibiPostgreDriver::insertId() * implemented DibiPostgreDriver::insertId() * implemented DibiPostgreDriver::delimite() David Grudl 2007-08-28 23:17:34 +00:00
  • d5e6cedddb added: throw new DibiException(__METHOD__ . ' is not implemented') David Grudl 2007-08-28 22:25:01 +00:00
  • 6f4d2c545d * removed variables $insertId & $affectedRows David Grudl 2007-08-28 22:13:53 +00:00
  • 0ff0cd21df * fixed pg_affected_rows David Grudl 2007-08-28 21:41:15 +00:00
  • 5243122e6a * support for big int & big floats David Grudl 2007-08-27 22:38:14 +00:00
  • 7f995a558b * fixed odbc_num_rows and pg_affected_rows David Grudl 2007-08-23 17:12:58 +00:00
  • 05b8c0ad43 David Grudl 2007-08-23 00:57:28 +00:00
  • 2c6608f817 IDibiVariable -> DibiVariableInterface David Grudl 2007-08-20 22:17:52 +00:00
  • 8b89eb3bd0 * vetsina method/trid oznacena jako final David Grudl 2007-08-09 03:31:34 +00:00
  • 609a3d64fb static public -> public static David Grudl 2007-06-25 23:47:05 +00:00
  • 5f4dbbbcfd * some variables renamed David Grudl 2007-06-25 17:02:12 +00:00
  • a7ddc1547c updated phpDoc blocks David Grudl 2007-06-24 23:49:57 +00:00
  • 5ffbe076f3 Changed "Access to undeclared property" exception message David Grudl 2007-06-24 15:07:10 +00:00
  • e2e5ba16f1 * Changed license to NEW BSD license David Grudl 2007-06-19 21:12:28 +00:00
  • c7dbc7134c * fetchPairs improved David Grudl 2007-06-11 00:25:48 +00:00
  • e33689a5a1 multi INSERT or REPLACE command David Grudl 2007-05-30 00:01:10 +00:00
  • 89a7c8ac73 David Grudl 2007-05-17 21:02:26 +00:00
  • 7452065de0 * new MS SQL driver * removed constant DIBI David Grudl 2007-05-13 18:32:03 +00:00
  • f766827219 bugfix, enhanced error reporting, better examples David Grudl 2007-05-11 22:25:32 +00:00
  • d03f60c43c David Grudl 2007-04-25 08:19:03 +00:00
  • 7c693a26fb David Grudl 2007-04-25 06:55:10 +00:00
  • 799dfcc65e David Grudl 2007-04-25 06:48:26 +00:00
  • b7834a3373 David Grudl 2007-04-25 06:44:38 +00:00
  • af7c4de14a * removed static factory DibiDriver::connect() * added support for lazy connections David Grudl 2007-04-25 06:18:06 +00:00
  • 166f716091 * quoteName -> delimite * fixed mysql_connect bug David Grudl 2007-04-16 03:01:55 +00:00
  • 57fa5831b1 David Grudl 2007-04-11 18:32:14 +00:00
  • e834c0ccae modified phpDoc headers David Grudl 2007-04-11 18:30:30 +00:00
  • 89ee302927 - added parameter $name in dibi::getConnection() - bug fixed error handling in SQlite driver David Grudl 2007-04-06 07:34:48 +00:00
  • 53178717ad * DibiPdoDriver bugs fixed David Grudl 2007-03-27 23:38:09 +00:00
  • 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) David Grudl 2007-03-27 23:12:36 +00:00
  • f64a5d5251 * fixed affectedRows & insertId bug David Grudl 2007-03-26 06:22:53 +00:00
  • 4d2c90ba68 * support for default values (mysql.default_user etc...) David Grudl 2007-02-14 18:27:06 +00:00
  • 4b2e04220b * DibiResult::fetchAssoc() rewritten David Grudl 2007-02-05 05:14:48 +00:00
  • 0c86515076 * modified DibiException (getDbError, ...) * fix dibi::dumpResult() David Grudl 2007-02-02 03:51:43 +00:00
  • a2b1036a66 * SET CHARACTER SET -> SET NAMES * %p bug David Grudl 2007-01-30 21:50:04 +00:00
  • 6536dfb7dd + rewritten support for logging & error handling + modifier %sn * modifier %sql * changed modifier behaviour: NULL is always 'NULL' David Grudl 2007-01-29 05:08:52 +00:00
  • ac980fe8c9 + DibiResult::fetchAll() * changed year in headers (2007) David Grudl 2007-01-08 00:55:11 +00:00
  • 3b8766d376 * throwing exception in DibiTranslator and DibiDriver + added dibi::$errorMode David Grudl 2006-11-22 12:55:24 +00:00
  • f447a03c96 throwing exception on connect David Grudl 2006-11-13 06:32:16 +00:00
  • 11b294be44 renamed parser -> translator added "Undefined property usage prevention" David Grudl 2006-10-26 13:09:56 +00:00
  • d705f4089d applyLimit support David Grudl 2006-09-23 07:55:11 +00:00
  • da608c2db2 substitutes moved from DibiDriver to Dibi changed "comments" behavior in DibiParser David Grudl 2006-09-23 06:34:44 +00:00
  • da70be27a8 David Grudl 2006-09-13 12:02:38 +00:00
  • 6c4ede17d6 added PostgreSQL driver David Grudl 2006-09-13 11:49:32 +00:00
  • 36b88503f9 remove operator @ in connect() methods David Grudl 2006-08-25 18:10:30 +00:00
  • 2cc9fa22fb prefix & substitution support (0.6c) David Grudl 2006-08-25 15:17:40 +00:00
  • 3c62c74331 Release 0.6b v0.6 David Grudl 2006-08-04 14:06:43 +00:00
  • 82e82e8872 specify license GPL as "v2" only David Grudl 2006-08-04 14:04:26 +00:00
  • deeff32be2 logFile etc. David Grudl 2006-07-19 01:40:29 +00:00