1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-24 10:53:17 +01:00

393 Commits

Author SHA1 Message Date
David Grudl
14b731e002 - added DibiDataSource::fetch(), fetchAll(), fetchSingle(), fetchPairs() & fetchAssoc() 2009-02-23 03:55:47 +00:00
David Grudl
60559d9a9f - added mysql_info support 2009-02-22 20:03:09 +00:00
David Grudl
b958e37fdf - supported substitutions :subst: outside of brackets [] 2009-02-22 18:58:29 +00:00
David Grudl
a26744388d - substitution is performed by DibiTranslator
- fixed bug in DibiTranslator
2009-02-22 18:35:18 +00:00
David Grudl
0b0596dbeb - DibiTable removed from distribution (is available as separated archive) 2009-02-13 12:59:40 +00:00
David Grudl
419929f813 - DibiSqliteDriver: added registerFunction() and registerAggregateFunction() 2009-02-11 03:38:28 +00:00
David Grudl
8df67d0de2 - fixed bug in DibiDataSource
- added DibiDataSource::getTotalCount()
- PostgreSql compatibility
2009-02-08 21:15:54 +00:00
David Grudl
60662bdae1 - improved DibiDataSource 2009-02-05 23:13:29 +00:00
David Grudl
dd6ffc3d0e - DibiTranslator: modifiers %ex, %by, %n improved, %SQL added
- DibiDataSource: allows select columns, sorting and conditions
2009-02-05 21:10:50 +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
bf6dc1cbd1 - DibiFluent implements Countable, IteratorAggregate
- DibiDataSource is deprecated
- DibiTranslator - fixed DateTime class support
2009-02-05 01:26:08 +00:00
David Grudl
a5a1da19a7 - DibiPostgreDriver: schema is case-sensitive
- DibiTranslator: %n modifier can construct [table] AS t statements
2009-02-02 17:50:02 +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
47d1180aee 2009-01-13 02:55:02 +00:00
David Grudl
7c0c4db0f6 - fixed Oracle driver 2009-01-10 22:33:29 +00:00
David Grudl
c24f2b8705 - API cleanup: some method in DibiConnection marked as deprecated 2009-01-08 00:42:01 +00:00
David Grudl
84172591d5 - added %ex modifier for keys in arrays 2009-01-07 17:30:01 +00:00
David Grudl
ca87994189 - DibiResultIterator is back (from rev. 123) 2009-01-07 13:48:01 +00:00
David Grudl
c5f8a260c7 - improved %and & %or modifiers behavior
- added %sql modifier for arrays (sub-translating)
2009-01-07 13:38:29 +00:00
David Grudl
96acdb46dc - DibiSQLiteDriver: added ability to convert strings to requested character encoding
- added experimental Microsoft SQL Server 2005 Driver for PHP
2009-01-07 03:34:50 +00:00
David Grudl
348af48ecd - updated PHP 5.3 namespace separator 2009-01-05 20:55:08 +00:00
David Grudl
52a9e316b8 - PHP 5.2.x ArrayObject serialization bug workaround 2009-01-05 00:03:27 +00:00
David Grudl
e5a1877ed9 - year 2008 -> 2009 2008-12-31 00:13:40 +00:00
David Grudl
4b189b93d6 - class DateTime support
- DibiProfiler checks whether headers was sent
2008-12-28 19:27:16 +00:00
David Grudl
781274ba65 - added fetch() methods into DibiConnection
- public $useFirebug
2008-12-07 23:59:04 +00:00
David Grudl
9244a1b1b5 - supported UNIX timestamp in datetime column 2008-11-25 20:33:52 +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
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