1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-23 10:26:21 +01:00

1016 Commits

Author SHA1 Message Date
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
2f690b63f9 - implemented insertId() in MS SQL driver 2008-11-09 20:03:08 +00:00
David Grudl
9f8b19f1fb - implemented applyLimit() in PDO driver 2008-11-07 10:47:57 +00:00
David Grudl
d08a5d3856 - added DibiResult::setRowClass() 2008-10-30 15:40:17 +00:00
David Grudl
901dc76103 - released "dibi 1.0"
- fixed FirePHP protocol bug
- DibiTable -> DibiTableX
2008-10-30 13:07:47 +00:00
David Grudl
8d063fe0a1 - added DibiPostgreDriver::getIndexes()
- implemented DibiTables types autodetection
- all examples uses Nette::Debug
2008-10-28 19:31:32 +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
318b3093a5 - added DibiPostgreDriver::getColumns() 2008-10-28 12:27:21 +00:00
David Grudl
7a6cdc8afa - improved examples 2008-10-28 02:06:55 +00:00
David Grudl
ab892255d3 improved reflection skills 2008-10-28 01:03:50 +00:00
David Grudl
e221a13dda - requires FirePHP 0.2
- improved DibiFluent
2008-10-25 15:36:37 +00:00
David Grudl
56628144b4 - DibiFluent autodetects modifiers for associative arrays (after where, orderBy, ...)
- json_encode in PHP < 5.2
2008-10-25 00:26:56 +00:00
David Grudl
32dd3969a3 - added DibiProfiler (experimental)
- removed dibi::addHandler() & dibi::startLogger()
2008-10-22 11:44:11 +00:00
David Grudl
1e33b67e37 - added DibiTable magic fetch
- fixed some bugs
2008-10-21 13:42:53 +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
fc69f8f47b - fixed float numbers decimal separator vs. setlocale 2008-10-02 09:01:38 +00:00
David Grudl
44f281de27 fixed %by 2008-10-01 16:23:44 +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
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
96c69f5bed 2008-09-11 12:37:41 +00:00
David Grudl
398c7a3500 added new methods fetchSingle, fetchAll, fetchAssoc and fetchPairs to DibiFluent 2008-09-11 12:33:49 +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
52d2ecf5b0 - DibiResult::fetchAssoc() respects 'resultObject' configuration option
- DibiResult::dump() forces arrays
- updated Nette::Object
2008-09-03 22:47:49 +00:00
David Grudl
d4f9e0378f - fixed undefined item in mysqli 2008-08-28 15:41:19 +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
c438b72972 - DibiTable::insert() returns NULL when $primaryAutoIncrement is FALSE 2008-07-24 16:34:00 +00:00
David Grudl
97f2ed392f - public magic methods 2008-07-22 22:37:14 +00:00
David Grudl
e48cd54a41 - DibiTable::$types enables auto-convert columns to specified type
- DibiTable::insert() returns NULL, when $primary is FALSE
2008-07-22 13:12:53 +00:00
David Grudl
85d190ec05 2008-07-17 04:59:45 +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
69ead6da56 improved dibi, Texy and Nette exceptions compatibility 2008-07-12 23:11:57 +00:00
David Grudl
41e5b32a22 minor: renamed resultset -> resultSet 2008-06-30 15:01:25 +00:00
David Grudl
2a4f5ec456 improved DibiPdoDriver identifier escaping 2008-06-18 23:34:35 +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
4e41f1641e - added dibi::setSubstFallBack()
- added DibiFluent::fetch()
2008-06-08 12:44:44 +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
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
4334eaa963 fixed bug in IDibiDriver 2008-05-19 19:32:06 +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
40e9f313c3 - DibiPostgreDriver - workaround for bug in pg_affected_rows
- added DibiResult::setObjects([TRUE | FALSE | class name])
2008-05-12 22:55:51 +00:00