David Grudl
c174e20135
2007-11-15 00:19:41 +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
89c53395c1
2007-11-12 06:43:09 +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
fd1d2b86ff
added NClass
2007-11-11 04:59:39 +00:00
David Grudl
9ff43d0ac3
added DibiDriver::disconnect()
2007-11-10 07:37:44 +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
6492fe10b6
* added NObject
2007-11-08 21:35:30 +00:00
David Grudl
8b99c00f91
fetchAssoc() && fetchPairs() throws exceptions
2007-11-08 06:19:03 +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
6856ace01e
Changed New BSD License to "dibi license"
2007-10-30 00:58:15 +00:00
David Grudl
39c62c1cd5
* added configuration aliases (user -> username, pass -> password)
...
* dibi::$defaultDriver
2007-10-26 17:44:24 +00:00
David Grudl
879bbeba1f
changed website to http://php7.org/dibi/
2007-10-13 22:50:29 +00:00
David Grudl
ccea418c34
DibiDriver::doQuery returns TRUE or DibiResult
2007-10-01 05:34:50 +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
0d8478d1d3
- dibi::substitute -> dibi::getSubst
...
- dibi:removeSubst(TRUE) removes all substitutes
2007-09-27 07:56:43 +00:00
David Grudl
281cdb65e0
* added dibi::addHandler & dibi::invokeEvent
...
* logging moved from DibiDriver -> Dibi::afterQuery()
2007-08-29 08:17:45 +00:00
David Grudl
53874f22d4
* support for sequence name in dibi::insertId() & DibiPostgreDriver::insertId()
...
* implemented DibiPostgreDriver::insertId()
* implemented DibiPostgreDriver::delimite()
2007-08-28 23:17:34 +00:00
David Grudl
5243122e6a
* support for big int & big floats
2007-08-27 22:38:14 +00:00
David Grudl
7f995a558b
* fixed odbc_num_rows and pg_affected_rows
2007-08-23 17:12:58 +00:00
David Grudl
05b8c0ad43
2007-08-23 00:57:28 +00:00
David Grudl
2c6608f817
IDibiVariable -> DibiVariableInterface
2007-08-20 22:17:52 +00:00
David Grudl
8b89eb3bd0
* vetsina method/trid oznacena jako final
2007-08-09 03:31:34 +00:00
David Grudl
609a3d64fb
static public -> public static
2007-06-25 23:47:05 +00:00
David Grudl
5f4dbbbcfd
* some variables renamed
2007-06-25 17:02:12 +00:00
David Grudl
a7ddc1547c
updated phpDoc blocks
2007-06-24 23:49:57 +00:00
David Grudl
5ffbe076f3
Changed "Access to undeclared property" exception message
2007-06-24 15:07:10 +00:00
David Grudl
e2e5ba16f1
* Changed license to NEW BSD license
2007-06-19 21:12:28 +00:00
David Grudl
c7dbc7134c
* fetchPairs improved
2007-06-11 00:25:48 +00:00
David Grudl
e33689a5a1
multi INSERT or REPLACE command
2007-05-30 00:01:10 +00:00
David Grudl
89a7c8ac73
2007-05-17 21:02:26 +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
d03f60c43c
2007-04-25 08:19:03 +00:00
David Grudl
b7834a3373
2007-04-25 06:44:38 +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
4b2e04220b
* DibiResult::fetchAssoc() rewritten
2007-02-05 05:14:48 +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
ac980fe8c9
+ DibiResult::fetchAll()
...
* changed year in headers (2007)
2007-01-08 00:55:11 +00:00