Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 274 lines (256 sloc) 10.207 kb
bdf7cb3 @quipo update changelog
quipo authored
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE package SYSTEM "../../php4/pehttp://pear.php.net/dtd/package-1.0">
3 <!-- do not use the "Type" attribute here, that one is only for
4 generated package.xml files -->
5 <package version="1.0">
6 <name>DB_QueryTool</name>
7 <summary>
d89c64f @quipo typo & release date
quipo authored
8 An OO-interface for easily retrieving and modifying data in a DB.
bdf7cb3 @quipo update changelog
quipo authored
9 </summary>
10
11 <description>
12 This package is an OO-abstraction to the SQL-Query language, it provides methods such
13 as setWhere, setOrder, setGroup, setJoin, etc. to easily build queries.
14 It also provides an easy to learn interface that interacts nicely with HTML-forms using
15 arrays that contain the column data, that shall be updated/added in a DB.
16 This package bases on an SQL-Builder which lets you easily build
17 SQL-Statements and execute them.
18 </description>
19
20 <maintainers>
21 <maintainer>
22 <user>cain</user>
23 <name>Wolfram Kriesing</name>
24 <email>wolfram@kriesing.de</email>
25 <role>lead</role>
26 </maintainer>
27 <maintainer>
28 <user>quipo</user>
29 <name>Lorenzo Alberton</name>
30 <email>l.alberton@quipo.it</email>
31 <role>lead</role>
32 </maintainer>
33 </maintainers>
34
35 <release>
6fed508 @quipo new testsuite
quipo authored
36 <version>1.0.0</version>
bdf7cb3 @quipo update changelog
quipo authored
37 <license>PHP</license>
38 <state>stable</state>
53d702a @quipo release date
quipo authored
39 <date>2005-03-01</date>
bdf7cb3 @quipo update changelog
quipo authored
40 <notes>
f12f493 @quipo - fixed bug #3290, getCount() method returns zero when using an offset
quipo authored
41 * fixed bug #3290, getCount() method returns zero when using an offset
42 (patch by kubo at isite dot co dot jp)
3317389 @quipo - strings lenghtier than the column max size are truncated to prevent db...
quipo authored
43 * strings lenghtier than the column max size are truncated
44 to prevent db errors
45 * using setOrder() with setGroup()+setHaving() could cause a malformed query
6fed508 @quipo new testsuite
quipo authored
46 * fully tested with MySQL, PostgreSQL and Firebird/Interbase
47 (added a new testsuite using SimpleTest)
bdf7cb3 @quipo update changelog
quipo authored
48 </notes>
49 <filelist>
6fed508 @quipo new testsuite
quipo authored
50 <dir name="/" baseinstalldir="DB">
51 <file role="php" name="QueryTool.php" />
bdf7cb3 @quipo update changelog
quipo authored
52
6fed508 @quipo new testsuite
quipo authored
53 <dir name="QueryTool" role="php">
54 <file name="Query.php" />
55 <file name="EasyJoin.php" />
56 <file name="Result.php" />
57 <file name="Result/Object.php" />
58 </dir>
bdf7cb3 @quipo update changelog
quipo authored
59
6fed508 @quipo new testsuite
quipo authored
60 <dir name="docs/examples" role="doc">
61 <file name="example.php" />
62 <file name="mysql.sql" />
63 <file name="pgsql.sql" />
64 </dir>
bdf7cb3 @quipo update changelog
quipo authored
65
6fed508 @quipo new testsuite
quipo authored
66 <dir name="tests" role="test">
67 <file name="Common.php" />
68 <file name="Get.php" />
69 <file name="GetAll.php" />
70 <file name="GetCount.php" />
71 <file name="GetQueryString.php" />
72 <file name="index.php" />
73 <file name="Having.php" />
74 <file name="Limit.php" />
75 <file name="sql.php" />
76 <file name="UnitTest.php" />
77 <file name="Where.php" />
78 <file name="SetDbInstance.php" />
bdf7cb3 @quipo update changelog
quipo authored
79
6fed508 @quipo new testsuite
quipo authored
80 <dir name="simpletest_tests" role="test">
81 <file name="all_tests.php"/>
82 <file name="db_querytool_include.php"/>
83 <file name="db_querytool_test_base.php"/>
84 <file name="db_querytool_testDbInstance.php"/>
85 <file name="db_querytool_testGet.php"/>
86 <file name="db_querytool_testGetAll.php"/>
87 <file name="db_querytool_testGetCount.php"/>
88 <file name="db_querytool_testGetQueryString.php"/>
89 <file name="db_querytool_testHaving.php"/>
90 <file name="db_querytool_testLimit.php"/>
91 <file name="db_querytool_tests_get.php"/>
92 <file name="db_querytool_tests_usage.php"/>
93 <file name="db_querytool_testWhere.php"/>
94 <file name="db_settings.php"/>
95 <file name="index.php"/>
96 <file name="readme.txt"/>
97 <file name="simple_include.php"/>
98 </dir>
bdf7cb3 @quipo update changelog
quipo authored
99 </dir>
6fed508 @quipo new testsuite
quipo authored
100 </dir>
bdf7cb3 @quipo update changelog
quipo authored
101
6fed508 @quipo new testsuite
quipo authored
102 <deps>
103 <dep type="pkg" rel="has">DB</dep>
104 <dep type="pkg" rel="ge" version="1.7">Log</dep>
105 </deps>
bdf7cb3 @quipo update changelog
quipo authored
106
107 </filelist>
108
109 </release>
110
111 <changelog>
112 <release>
f12f493 @quipo - fixed bug #3290, getCount() method returns zero when using an offset
quipo authored
113 <version>0.11.1</version>
114 <license>PHP</license>
115 <state>stable</state>
116 <date>2004-10-18</date>
117 <notes>
118 * allow multiple left|right join clauses.
119 NB: getJoin($type) now returns
120 array(
121 $joinTable1 => $joinOnClause1,
122 $joinTable2 => $joinOnClause2,
123 )
124 * allow class usage without instanciating a db object
125 (to use the class as a simple query builder)
126 * unset non-specific PEAR::DB options before calling connect()
127 (bug #1614)
128 * allow reuse of existing connection (bug #2007),
129 thanks to eln at gmx dot net
130 </notes>
131 </release>
132 <release>
bdf7cb3 @quipo update changelog
quipo authored
133 <version>0.10.1</version>
134 <license>PHP</license>
135 <state>stable</state>
136 <date>2004-05-05</date>
137 <notes>
138 * on UPDATE, field names are no more prefixed by the table name
139 (it didn't work with PostgreSQL)
140 * added an $options parameter to connect()
bca7fe7 @quipo update changelog
quipo authored
141 * fixed bug #284 (Log::factory() needs to return a reference)
142 * fixed bug #298 (reset() does not reset limit)
143 * fixed bug #322 (undefined var $autoConnect)
bdf7cb3 @quipo update changelog
quipo authored
144 * changed useResult() method; now it accepts a $type parameter, use it to return
145 'array' results or 'object' results (thanks to Roman Dostovalov).
146 Please note that BC is maintained, useResult(true) will default to
147 useResult('array'), and useResult(false) will default to useResult('none').
148 * fixed problems with useResult(true) and empty results
149 * when using useResult(true), if the user doesn't call getFirst() on the first
150 iteration, the class does so automatically
151 * PHP 5 fixes
152 * fixes to the testsuite
153 </notes>
154 </release>
155 <release>
156 <version>0.9.8</version>
157 <license>PHP</license>
158 <state>stable</state>
159 <date>2003-09-23</date>
160 <notes>
161 * added new method getQueryString() which returns the rendered query
162 * added setDbInstance() which lets you supply an existing DB-instance to work with
163 using this you dont need to pass a DSN to the constructor!
164 </notes>
165 </release>
166 <release>
167 <version>0.9.7</version>
168 <license>PHP</license>
169 <state>stable</state>
170 <date>2003-09-15</date>
171 <notes>
172 * use Log 1.7 API
173 </notes>
174 </release>
175
176 <release>
177 <version>0.9.6</version>
178 <license>PHP</license>
179 <state>stable</state>
180 <date>2003-09-12</date>
181 <notes>
182 - bugfix in addMultiple()
183 - addWhereSearch now only prefixes known columns as it is supposed to be,
184 otherwise it would also prefix aliases with the table name, which is bull...
185 - quirk in the addLeftJoin() method ... not nice, but v1.0 will be, unit tests pass but thats still not enough proof
186 - make setLimit also work to unset it
187 </notes>
188 </release>
189
190 <release>
191 <version>0.9.5</version>
192 <license>PHP</license>
193 <state>stable</state>
194 <date>2003-06-17</date>
195 <notes>
196 - bugfix when writing log files, times were wrong
197 - bugfix in EasyJoin, which added unnecessary conditions
198 - bugfix in building column alias which is at the end of the string
199 - bugfix in addMultiple() which didnt work without primaryCol
8e829c5 @quipo html entities
quipo authored
200 - bugfix in addHaving and unit test, thanks to Johannes Sch&auml;fer
bdf7cb3 @quipo update changelog
quipo authored
201 </notes>
202 </release>
203
204 <release>
205 <version>0.9.4</version>
206 <license>PHP</license>
207 <state>stable</state>
208 <date>2003-06-06</date>
209 <notes>
210 - added set/getLimit(), which set the limit globally,
211 getAll() and getCol() can still overwrite this temporarily
212 - added addOrder()
213 - added *Having() methods by Johannes Schaefer
214 - added log functionality
215 - added condition param to addWhereSearch()
216 - fix bug in building group clause for getCount()
217 - bug fix in building join
218 </notes>
219 </release>
220
221 <release>
222 <version>0.9.3</version>
223 <license>PHP</license>
224 <state>stable</state>
225 <date>2003-03-11</date>
226 <notes>
227 - new method getCol() which lets you retreive just one column
228 - getAll() takes an additional optional parameter, where you can define
229 the method that should be used for firing the query
230 - update() does also consider the value of setWhere() when no primary column is given
231 added a _buildUpdateQuery() for that too
232 - added umbrello-uml class diagram
233 - fixing some typos, esp. for making the useResult() work
8e829c5 @quipo html entities
quipo authored
234 - bugfix in update, use fully qualified table name (Uwe D&ouml;rl)
bdf7cb3 @quipo update changelog
quipo authored
235 - bugfix in _buildSelectQuery, enclose column names by ""
8e829c5 @quipo html entities
quipo authored
236 now Oracle should work and also reserved keywords can be used as column names (Uwe D&ouml;rl)
bdf7cb3 @quipo update changelog
quipo authored
237 - some bugfixes and more CS issues
238 </notes>
239 </release>
240 <release>
241 <version>0.9.2</version>
242 <license>PHP</license>
243 <state>stable</state>
244 <date>2003-02-09</date>
245 <notes>
246 - now you can customize the sequence name
247 - testing on postgres and added example
248 - enhancing the constructor to take the error/log callbacks
249 - some cleaning up
250 </notes>
251 </release>
252 <release>
253 <version>0.9.1</version>
254 <license>PHP</license>
255 <state>stable</state>
256 <date>2003-01-29</date>
257 <notes>
258 maintanence release, fix a lot E_ALL issues and CS issues
259 </notes>
260 </release>
261 <release>
262 <version>0.9</version>
263 <license>PHP</license>
264 <state>stable</state>
265 <date>2003-01-17</date>
266 <notes>
267 - initial release in PEAR
268 </notes>
269 </release>
270 </changelog>
271
272
273 </package>
Something went wrong with that request. Please try again.