1
0
mirror of https://github.com/dg/dibi.git synced 2025-02-25 03:12:50 +01:00

73 Commits

Author SHA1 Message Date
David Grudl
27d58bff40 DibiDatabaseInfo: provides substitutions 2010-05-19 15:03:48 +02:00
David Grudl
bec559448c rewritten dibi::IDENTIFIER escaping; added support for [table.*] 2010-05-19 14:59:03 +02:00
David Grudl
27930611de REGEXP optimizations 2010-05-16 22:45:55 +02:00
David Grudl
553f7da5f9 implemented PCRE error checking and PcreException 2010-05-16 22:12:19 +02:00
David Grudl
26384626ba ArrayObject -> Traversable & iterator_to_array 2010-04-26 20:43:04 +02:00
David Grudl
2395b83b03 DibiTranslator: added modifiers %sN & %iN, replacements for %sn & %in 2010-01-23 06:02:03 +01:00
David Grudl
fa0b146f67 DibiTranslator: empty arrays DO NOT generate NULL (BC break!) & added array modifier %in 2010-01-23 05:25:17 +01:00
David Grudl
bb40e28eb8 DibiTranslator: %by supports inner arrays 2010-01-23 04:57:49 +01:00
David Grudl
c37475838f - year 2009 -> 2010 2010-01-03 15:32:26 +01:00
David Grudl
20d22dd81b DibiConnection: deprecated inTransaction (BC break!) 2009-12-17 23:53:45 +01:00
David Grudl
75ede18f94 removed PHP 5.1 support; removed DibiVariable & IDibiVariable 2009-11-26 05:38:20 +01:00
David Grudl
5e7774404b code smoothing 2009-11-16 02:00:49 +01: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
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
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
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
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
5946b7e1f6 - removed 'FIELD_' from dibi data types 2009-03-16 06:48:27 +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
d2f1beba57 - added connection directive 'substitutes'
- better ArrayObject handling in DibiTranslator
2009-02-25 20:10:17 +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
8df67d0de2 - fixed bug in DibiDataSource
- added DibiDataSource::getTotalCount()
- PostgreSql compatibility
2009-02-08 21:15:54 +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
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
84172591d5 - added %ex modifier for keys in arrays 2009-01-07 17:30: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
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
9244a1b1b5 - supported UNIX timestamp in datetime column 2008-11-25 20:33:52 +00:00
David Grudl
a2d0d66d0f - phpDoc simplified 2008-10-28 15:24:47 +00:00
David Grudl
ab892255d3 improved reflection skills 2008-10-28 01:03:50 +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
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
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