David Grudl
e52cee8cbc
- DibiConnection: insert() and update() accepts ArrayObject
2009-06-19 11:28:42 +00:00
David Grudl
496c224be5
typos
2009-03-19 12:18:16 +00:00
David Grudl
5946b7e1f6
- removed 'FIELD_' from dibi data types
2009-03-16 06:48:27 +00:00
David Grudl
2f86997ca7
- affectedRows(), insertId(), rowCount() are aliases for getAffectedRows(), getInsertId(), getRowCount()
2009-02-26 20:02:14 +00:00
David Grudl
d2f1beba57
- added connection directive 'substitutes'
...
- better ArrayObject handling in DibiTranslator
2009-02-25 20:10:17 +00:00
David Grudl
46d79fc305
- DibiConnection & DibiTranslator refactoring
...
- DibiException accepts SQL parameter
- undeprecated IDataSource
2009-02-05 21:08:00 +00:00
David Grudl
32ed383326
- query returns DibiResult or number of affected rows now
2009-02-05 02:13:15 +00:00
David Grudl
c24f2b8705
- API cleanup: some method in DibiConnection marked as deprecated
2009-01-08 00:42:01 +00:00
David Grudl
348af48ecd
- updated PHP 5.3 namespace separator
2009-01-05 20:55:08 +00:00
David Grudl
e5a1877ed9
- year 2008 -> 2009
2008-12-31 00:13:40 +00:00
David Grudl
781274ba65
- added fetch() methods into DibiConnection
...
- public $useFirebug
2008-12-07 23:59:04 +00:00
David Grudl
4b7b7de87a
- DibiFluent - added support for nested selects
...
- DibiFluent::__toString() returns NOT highlighted SQL
2008-11-22 14:31:38 +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
32dd3969a3
- added DibiProfiler (experimental)
...
- removed dibi::addHandler() & dibi::startLogger()
2008-10-22 11:44:11 +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
ae77148773
introduced new class constants
2008-10-10 01:35:33 +00:00
David Grudl
b0f155f767
- implemented basic meta/reflection support
2008-10-02 17:13:43 +00:00
David Grudl
9eddba204f
- BC change: DibiResult::fetchAll() returns always multidimensional arrays (for single columns use fetchPairs() instead)
...
- added DibiTable::insertOrUpdate()
- new modifier %by
2008-10-01 16:04:16 +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
360f8799cf
- added configuration option 'resultClass'
...
- updated class Object
2008-08-28 02:02:21 +00:00
David Grudl
119d5a1995
- renamed configuration keys result:object, result:withtables and format:* to resultObject resp. resultWithTables (due compatibility with PHP 5.3 INI parser)
...
- updated class Object
2008-08-25 18:55:50 +00:00
David Grudl
c0bd3761de
modified SVN properties
2008-07-17 03:51:29 +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
69876a70b7
- removed DibiResultIterator
...
- DibiConnection::nativeQuery & query() returns DibiResult or NULL
- added optional parameters $offset, $limit, $simplify to DibiResult::fetchAll()
2008-05-20 08:15:30 +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
b27b0193f1
fixed compatibility with Nette::Config
2008-05-13 13:02:26 +00:00
David Grudl
7bb5684d71
code formatting: 4 spaces -> tabs
2008-05-12 00:30:59 +00:00
David Grudl
62f8c47410
compatibility with Nette::Config
2008-04-21 11:32:58 +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
2632953541
- removed NException, ability of catching PHP error moved to DibiDriverException
2008-03-04 14:01:22 +00:00
David Grudl
1459c6c95d
updated headers
2008-02-15 04:51:35 +00:00
David Grudl
2f9704bca2
- DibiPostgreDriver: added support for "schema"
...
- DibiTable::fetch($conditions) (experimental)
- DibiConnection no longer invokes autoloading
2008-02-14 02:02:27 +00:00
David Grudl
8da9e778a6
added new Nette exceptions
2008-02-01 02:12:36 +00:00
David Grudl
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
2008-01-18 07:35:45 +00:00
David Grudl
f6b781f12d
- added DibiDataSource as default implementation of IDataSource
...
- new modifiers %lmt %ofs
- removed old modifier %p (alias for %sql)
2008-01-18 02:57:43 +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
da0a239d6d
* dibi::loadFile() extreme fast SQL dump loading
2008-01-12 01:20:23 +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
dfacb48449
* fixed DibiPostgreDriver::insertId
...
* changed URL to http://dibiphp.com
2007-12-05 09:27:55 +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
1a9abfb326
NClass moved to separate file
2007-11-26 01:44:07 +00:00
David Grudl
a0febd3d50
* added support for affectedRows in DibiPdoDriver
2007-11-24 08:23:26 +00:00
David Grudl
c8fedf7692
optimizations
2007-11-23 23:50:57 +00:00