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

281 Commits

Author SHA1 Message Date
David Grudl
a3f673e82b - DibiProfiler: added some limits for Firebug 2009-07-02 17:39:58 +00:00
David Grudl
6ff605ef0a - typo 2009-06-30 14:08:49 +00:00
David Grudl
77efc27681 - DibiResultIterator: is countable (thanks to Roman Sklenar) 2009-06-19 11:32:24 +00:00
David Grudl
e52cee8cbc - DibiConnection: insert() and update() accepts ArrayObject 2009-06-19 11:28:42 +00:00
David Grudl
74178a5596 - DibiTranslator: added brackets for %and %or (thanks to Jiri Sutera)
- DibiMySqlDriver: added common error constants
2009-06-19 11:03:24 +00:00
David Grudl
c67bcd5598 - DibiDataSource: added escaping 2009-06-13 19:05:23 +00:00
David Grudl
bf15d60fd1 - DibiRow: added helper methods asDate() & asBool()
- DibiTranslator: added new modifier %in - integer or NULL
2009-06-03 13:42:02 +00:00
David Grudl
9c435acd2e - DibiDataSource: fixed count() vs. release() bug (thanks to Roman Sklenář) 2009-06-02 22:04:54 +00:00
David Grudl
1e08a91e66 - DibiTranslator: fixed strange security bug! (thanks to Matej Kravjar) 2009-06-02 09:05:13 +00:00
David Grudl
43c7e70e90 - DibiResult: setWithTables() and setRowClass() provide a fluent interface
- DibiTranslator: enhanced arrays syntax
2009-05-24 23:32:42 +00:00
David Grudl
fb8054d21a - added placeholder ? 2009-05-11 18:43:30 +00:00
David Grudl
98d43e0815 - Oracle driver: implemented applyLimit() & getTables()
- DibiDataSource: removed key word AS
- DibiProfiler: fixed bug with unbuffered queries
- DibiTranslator: empty %and generates '1=1'
2009-04-26 15:35:39 +00:00
David Grudl
6589519419 - DibiTranslator: empty arrays generate NULL (it may cause an BC break!)
- Dibi: disables magic_quotes_runtime
2009-04-16 02:15:20 +00:00
David Grudl
496c224be5 typos 2009-03-19 12:18:16 +00:00
David Grudl
aa05a85dfb - BYTEA detection fixed 2009-03-17 07:26:09 +00:00
David Grudl
5946b7e1f6 - removed 'FIELD_' from dibi data types 2009-03-16 06:48:27 +00:00
David Grudl
a9afe1e397 - improved binary escaping 2009-03-16 05:47:20 +00:00
David Grudl
97969edace - smarter handling of substitutions :subst: outside of brackets [] 2009-03-08 23:27:31 +00:00
David Grudl
7969289aaa - DibiDataSource: fixed empty ORDER BY
- DibiTranslator: removed empty %by handling 
- DibiTranslator: better NULL values handling
2009-03-08 17:36:11 +00:00
David Grudl
5c2245a9d7 - added DibiDataSource::release() 2009-03-02 02:22:36 +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
14b731e002 - added DibiDataSource::fetch(), fetchAll(), fetchSingle(), fetchPairs() & fetchAssoc() 2009-02-23 03:55:47 +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
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
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
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
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