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

194 Commits

Author SHA1 Message Date
David Grudl
6d353c0b5d DibiResult: removed destructor 2009-09-09 17:04:20 +02:00
David Grudl
698c12eadc DibiColumnInfo: getType() is implemented lazy 2009-09-09 17:03:40 +02:00
David Grudl
70ba2f065c added DibiResultInfo, available via DibiResult::getInfo() 2009-09-09 17:02:46 +02:00
David Grudl
7e539f8f4f typo changes 2009-09-09 17:01:30 +02:00
David Grudl
08e70fda61 DibiTranslator: fixed bug in DateTime object usage 2009-08-26 00:09:05 +02:00
David Grudl
fa6d771813 dibi internally uses DateTime object in PHP 5.2 2009-08-21 01:34:07 +02:00
David Grudl
7c6932807d updated for GIT 2009-08-14 00:05:20 +02:00
David Grudl
208a579d6f - last rev fix 2009-08-13 12:33:28 +00:00
David Grudl
eeba6cfc91 - DibiConnection: fixed insert() with modifiers (thanks to Matej Kravjar) 2009-08-13 12:20:03 +00:00
David Grudl
8cc1d8b948 - MS drivers: bool TRUE is now +1
- DibiDatabaseInfo: LONGTEXT is recognized as TEXT
2009-08-13 12:08:31 +00:00
David Grudl
18a7665bec - consolidating the aliases for the connection parameters 2009-07-13 20:13:48 +00:00
David Grudl
fb026ef45d - DibiTranslate: better validation for %m 2009-07-08 12:42:05 +00:00
David Grudl
2d69d4a18e - added new multiinsert modifier 'm' (thanks to Milan Matejcek) 2009-07-08 12:32:01 +00:00
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