David Grudl
2f86997ca7
- affectedRows(), insertId(), rowCount() are aliases for getAffectedRows(), getInsertId(), getRowCount()
2009-02-26 20:02:14 +00:00
David Grudl
60559d9a9f
- added mysql_info support
2009-02-22 20:03:09 +00:00
David Grudl
5ecfaf7ab1
- all drivers accepts injected connection resource
...
- DibiFluent: fixed identifier substitution
2009-01-17 19:27:40 +00:00
David Grudl
c24f2b8705
- API cleanup: some method in DibiConnection marked as deprecated
2009-01-08 00:42:01 +00:00
David Grudl
e5a1877ed9
- year 2008 -> 2009
2008-12-31 00:13:40 +00:00
David Grudl
fb2621eb04
- implemented savepoints support
2008-11-17 16:17:16 +00:00
David Grudl
a2d0d66d0f
- phpDoc simplified
2008-10-28 15:24:47 +00:00
David Grudl
7565ffb1d4
- added dibi-field-type autodetection
...
- added DibiColumnInfo::getVendorInfo()
2008-10-28 14:37:40 +00:00
David Grudl
ab892255d3
improved reflection skills
2008-10-28 01:03:50 +00:00
David Grudl
3e04378375
- returns result-set rows as DibiRow objects!
...
- removed option 'resultObjects'
- SQlite driver removes quotes from result-set column names
- this revision may cause compatibility break
2008-10-10 17:39:33 +00:00
David Grudl
b0f155f767
- implemented basic meta/reflection support
2008-10-02 17:13:43 +00:00
David Grudl
9b84459f09
quoted identifiers security fix
2008-09-15 23:58:03 +00:00
David Grudl
8c4211d5be
- added fluent SQL builders support in DibiConnection and DibiTable
2008-09-13 16:38:59 +00:00
David Grudl
e5af8a8c67
- Object renamed to DibiObject
...
- DibiTranslator: improved %and and %or handling
- DibiTable::findAll allows to add conditions
2008-09-05 05:35:15 +00:00
David Grudl
f935968aa7
refactoring in drivers
2008-09-04 18:18:58 +00:00
David Grudl
d4f9e0378f
- fixed undefined item in mysqli
2008-08-28 15:41:19 +00:00
David Grudl
c0bd3761de
modified SVN properties
2008-07-17 03:51:29 +00:00
David Grudl
7f0fa2e75e
- added config alias 'hostname' for 'host'
2008-07-15 09:34:05 +00:00
David Grudl
41e5b32a22
minor: renamed resultset -> resultSet
2008-06-30 15:01:25 +00:00
David Grudl
d12895102f
- new DibiTable constructor
...
- moved "tricky clone" from DibiConnection::query to IDibiDriver::query
2008-06-10 01:09:23 +00:00
David Grudl
c23bf15a3d
- DibiDriver::format splitted into escape() & unescape()
...
- added DibiConnection::unescape
- DibiPostgreDriver support escaping & unescaping BYTEA type
2008-05-25 18:44:43 +00:00
David Grudl
3728b16a21
- added DibiFluent
...
- bugfix in dibi::dump()
2008-05-21 11:20:46 +00:00
David Grudl
a8acce6d59
- removed DibiPostgreDriver workaround (there is no bug in pg_affected_rows)
...
- added IDibiConnection::isConnected()
2008-05-16 17:56:24 +00:00
David Grudl
7bb5684d71
code formatting: 4 spaces -> tabs
2008-05-12 00:30:59 +00:00
David Grudl
11a314ca96
minor: updated phpDoc headers
2008-04-19 14:13:48 +00:00
David Grudl
c8febb8322
/*Nette::*/Object
2008-04-16 10:18:02 +00:00
David Grudl
24bf999cd9
* better datetime converting in DibiResult (see http://forum.dibiphp.com/viewtopic.php?pid=2331 )
...
* added support for Nette_Debug
* renamed NObject -> Nette_Object (Nette::Object in PHP 5.3)
2008-04-03 12:40:04 +00:00
David Grudl
1459c6c95d
updated headers
2008-02-15 04:51:35 +00:00
David Grudl
8da9e778a6
added new Nette exceptions
2008-02-01 02:12:36 +00:00
David Grudl
c41167d49f
bug fixed
2008-01-15 05:40:08 +00:00
David Grudl
5c045e58dc
* added DibiTable
...
* new connection options: "result:objects" & "result:withtables"
* renamed DibiDriverInterface -> IDibiDriver, DibiVariableInterface -> IDibiVariable
2008-01-15 03:43:03 +00:00
David Grudl
de4a882788
- DibiResult: meta type Dibi::FIELD_BOOL resolves 'f' and 'F' as FALSE
2008-01-02 05:25:21 +00:00
David Grudl
041f059408
removed NClass
2007-12-11 07:28:55 +00:00
David Grudl
2c8906e7c4
* new: DibiResult::fetchAssoc() supports "object" mode via @ descriptor
...
* fixed mysqli_set_charset in PHP < 5.1.5
2007-12-07 16:51:17 +00:00
David Grudl
dfacb48449
* fixed DibiPostgreDriver::insertId
...
* changed URL to http://dibiphp.com
2007-12-05 09:27:55 +00:00
David Grudl
7d964e054b
* fixed identifier delimitation in DibiPostgreDriver (table.col -> table."col")
...
* better SQL syntax highlighting
* removed addslashes from DibiPostgreDriver
2007-12-01 17:24:49 +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
a0febd3d50
* added support for affectedRows in DibiPdoDriver
2007-11-24 08:23:26 +00:00
David Grudl
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
2007-11-23 23:27:14 +00:00
David Grudl
3f42b2cf55
- added DibiVariable (experimental)
...
- fixed bug in DibiPostgreDriver::insertId()
2007-11-22 10:35:23 +00:00
David Grudl
cbb315cbc7
* renamed DibiDatabaseException to DibiDriverException
...
* PDO driver convert PDOExceptions to DibiDriverException
2007-11-17 09:37:55 +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
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
9ff43d0ac3
added DibiDriver::disconnect()
2007-11-10 07:37:44 +00:00