Skip to content

HTTPS clone URL

Subversion checkout URL

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