<?xml version="1.0" encoding="UTF-8"?>
<package packagerversion="1.7.0RC1" version="2.0" xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd">
 <name>DB_QueryTool</name>
 <channel>pear.php.net</channel>
 <summary>An OO-interface for easily retrieving and modifying data in a DB.</summary>
 <description>This package is an OO-abstraction to the SQL-Query language, it provides methods such
as setWhere, setOrder, setGroup, setJoin, etc. to easily build queries.
It also provides an easy to learn interface that interacts nicely with HTML-forms using
arrays that contain the column data, that shall be updated/added in a DB.
This package bases on an SQL-Builder which lets you easily build
SQL-Statements and execute them.</description>
 <lead>
  <name>Wolfram Kriesing</name>
  <user>cain</user>
  <email>wolfram@kriesing.de</email>
  <active>no</active>
 </lead>
 <lead>
  <name>Lorenzo Alberton</name>
  <user>quipo</user>
  <email>l.alberton@quipo.it</email>
  <active>yes</active>
 </lead>
 <date>2008-01-12</date>
 <time>14:10:41</time>
 <version>
  <release>1.1.2</release>
  <api>1.1.2</api>
 </version>
 <stability>
  <release>stable</release>
  <api>stable</api>
 </stability>
 <license uri="http://www.debian.org/misc/bsd.license">BSD</license>
 <notes>* fixed bug #12353: identifier quoting with functions in _buildSelect()
* fixed bug in addWhereSearch() introduced in the latest release
* Coding Standards fixes</notes>
 <contents>
  <dir name="/">
   <file baseinstalldir="DB" md5sum="aa8b6bb05c7f81522c3183b7b279502d" name="docs/examples/example.php" role="doc" />
   <file baseinstalldir="DB" md5sum="7bd8b3c0dde5b2811203e58d4d1bd058" name="docs/examples/mysql.sql" role="doc" />
   <file baseinstalldir="DB" md5sum="c0f62bc23d8e438997eb6711820b1242" name="docs/examples/pgsql.sql" role="doc" />
   <file baseinstalldir="DB" md5sum="74de4bafabc5be8d05686d082692b284" name="QueryTool/Result/Object.php" role="php" />
   <file baseinstalldir="DB" md5sum="ab7289d683e02f90391715ec872a6b4b" name="QueryTool/EasyJoin.php" role="php" />
   <file baseinstalldir="DB" md5sum="a4255969452c9bb89efc13be31f15a72" name="QueryTool/Query.php" role="php" />
   <file baseinstalldir="DB" md5sum="48fbf59f0ffb203f5fd63f98f724b7e6" name="QueryTool/Result.php" role="php" />
   <file baseinstalldir="DB" md5sum="d016b248fdbb16c18c502d5d2181bd8c" name="tests/simpletest_tests/all_tests.php" role="test" />
   <file baseinstalldir="DB" md5sum="6e5ddb4d5fe0c6df06a530be3b2e140a" name="tests/simpletest_tests/db_querytool_include.php" role="test" />
   <file baseinstalldir="DB" md5sum="0acbc2e006be275d96358c5a66a64278" name="tests/simpletest_tests/db_querytool_testDbInstance.php" role="test" />
   <file baseinstalldir="DB" md5sum="664525db00f9521e300ad16afb126830" name="tests/simpletest_tests/db_querytool_testGet.php" role="test" />
   <file baseinstalldir="DB" md5sum="1256319f2ed81b1f70ef1709a92c4321" name="tests/simpletest_tests/db_querytool_testGetAll.php" role="test" />
   <file baseinstalldir="DB" md5sum="4d98f5273e7bb861d3b6e6b5e24521f3" name="tests/simpletest_tests/db_querytool_testGetCount.php" role="test" />
   <file baseinstalldir="DB" md5sum="3c320a979f7ba4a1818a98ac8b12a627" name="tests/simpletest_tests/db_querytool_testGetQueryString.php" role="test" />
   <file baseinstalldir="DB" md5sum="3090fb192f078b0961b19bd7c2701b88" name="tests/simpletest_tests/db_querytool_testHaving.php" role="test" />
   <file baseinstalldir="DB" md5sum="cdff14d2d6109e4e0dbff5374a664fcb" name="tests/simpletest_tests/db_querytool_testLimit.php" role="test" />
   <file baseinstalldir="DB" md5sum="49b213946ffadab6d58d5e0497014e2c" name="tests/simpletest_tests/db_querytool_tests_get.php" role="test" />
   <file baseinstalldir="DB" md5sum="4586d13f3b42859e4d4ccb4430697318" name="tests/simpletest_tests/db_querytool_tests_usage.php" role="test" />
   <file baseinstalldir="DB" md5sum="c76e7d53d90d772468614baf0dee821a" name="tests/simpletest_tests/db_querytool_testWhere.php" role="test" />
   <file baseinstalldir="DB" md5sum="79472b74db0e267b05bf78d5d18f7b14" name="tests/simpletest_tests/db_querytool_test_base.php" role="test" />
   <file baseinstalldir="DB" md5sum="896db871b42cd072147a7fb7d2d2f9fd" name="tests/simpletest_tests/db_settings.php" role="test" />
   <file baseinstalldir="DB" md5sum="cf25e5e17f5ab32c14d28d8639fce688" name="tests/simpletest_tests/index.php" role="test" />
   <file baseinstalldir="DB" md5sum="aa71f03c9b307b9e2f7b1e6e9d9a7bfa" name="tests/simpletest_tests/readme.txt" role="test" />
   <file baseinstalldir="DB" md5sum="87e31a65b28a8e66c0363264a7122fb5" name="tests/simpletest_tests/simple_include.php" role="test" />
   <file baseinstalldir="DB" md5sum="a4ecf8fe13cf2a9267c68ca26a0de5e7" name="tests/Common.php" role="test" />
   <file baseinstalldir="DB" md5sum="75fe73aa8217a359400f35ff05473ca4" name="tests/Get.php" role="test" />
   <file baseinstalldir="DB" md5sum="349fa21db9f7c28644fe41f9e7a1dab1" name="tests/GetAll.php" role="test" />
   <file baseinstalldir="DB" md5sum="bbdeb7de70fa29f7b004e1e388e5a287" name="tests/GetCount.php" role="test" />
   <file baseinstalldir="DB" md5sum="1ebe7c10a0302cd6449ae3c127af45cc" name="tests/GetQueryString.php" role="test" />
   <file baseinstalldir="DB" md5sum="9f51d21bedf4d9b8b5fe6ff2b33170e9" name="tests/Having.php" role="test" />
   <file baseinstalldir="DB" md5sum="bad6c8cf29178c86f3f83c1b29d5026a" name="tests/index.php" role="test" />
   <file baseinstalldir="DB" md5sum="075e9e0b6bcbbe39747f492030c0c953" name="tests/Limit.php" role="test" />
   <file baseinstalldir="DB" md5sum="cbbba5a88ffa116f4c1343d51987e02e" name="tests/SetDbInstance.php" role="test" />
   <file baseinstalldir="DB" md5sum="6c2d48d349aae8f297c7320664f6e35b" name="tests/sql.php" role="test" />
   <file baseinstalldir="DB" md5sum="7b6a6279653a5de9692c56e920506e36" name="tests/UnitTest.php" role="test" />
   <file baseinstalldir="DB" md5sum="1f9b862e25a90f86cd48dbbc5095e8f7" name="tests/Where.php" role="test" />
   <file baseinstalldir="DB" md5sum="1c786d6f289f3f03817ffd40b2431517" name="QueryTool.php" role="php" />
  </dir>
 </contents>
 <dependencies>
  <required>
   <php>
    <min>4.0.0</min>
   </php>
   <pearinstaller>
    <min>1.4.0b1</min>
   </pearinstaller>
   <package>
    <name>DB</name>
    <channel>pear.php.net</channel>
   </package>
   <package>
    <name>Log</name>
    <channel>pear.php.net</channel>
    <min>1.7</min>
   </package>
  </required>
 </dependencies>
 <phprelease />
 <changelog>
  <release>
   <version>
    <release>1.1.2</release>
    <api>1.1.2</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2008-01-12</date>
   <license uri="http://www.debian.org/misc/bsd.license">BSD</license>
   <notes>* fixed bug #12353: identifier quoting with functions in _buildSelect()
* fixed bug in addWhereSearch() introduced in the latest release
* Coding Standards fixes</notes>
  </release>
  <release>
   <version>
    <release>1.1.1</release>
    <api>1.1.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2008-01-12</date>
   <license uri="http://www.debian.org/misc/bsd.license">BSD</license>
   <notes>* fixed bug #10073: bug with empty() and 0 in _localeSafeImplode()
* fixed Coding Standards</notes>
  </release>
  <release>
   <version>
    <release>1.1.0</release>
    <api>1.1.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2007-01-27</date>
   <license uri="http://www.debian.org/misc/bsd.license">BSD</license>
   <notes>* added getOne() method (request #7580)
* added support for NULL fields in remove() (request #8056)
* fixed bug #3842, using the addJoin/setJoin methods causes an &quot;invalid token&quot; error with ibase;
  the joined table columns aliases are now named in this format: &quot;t_tablename_fieldname&quot; instead of &quot;_tablename_fieldname&quot;.
  Only the ibase driver is affected by this change.
* custom implementation of implode() to circumvent locale handling of floats,
  which clashes with SQL standards
* added table and field name quoting (requests #4613, #5250, #7570, #9197)
* fixed bug #9734, an incorrect regexp adds extraneous table names to the fields,
  if the name of the field appears as a column name in the current table.
* phpdoc and CS fixes
* added new tests
* switched to package.xml v2

NB: This will probably be the last release of DB_QueryTool, which is deprecated
in favour of MDB_QueryTool.</notes>
  </release>
  <release>
   <version>
    <release>1.0.3</release>
    <api>1.0.3</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2006-05-01</date>
   <license uri="http://www.debian.org/misc/bsd.license">BSD</license>
   <notes>* fixed DB_QueryTool_Result_Object::fetchRow() when the return type is
  a scalar value instead of an array (bug #7532)</notes>
  </release>
  <release>
   <version>
    <release>1.0.2</release>
    <api>1.0.2</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2006-01-26</date>
   <license uri="http://www.debian.org/misc/bsd.license">BSD</license>
   <notes>* changed license to BSD
* fixed bug with big integers being incorrectly trimmed</notes>
  </release>
  <release>
   <version>
    <release>1.0.1</release>
    <api>1.0.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-09-07</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>* fixed req #3842: added support for INNER JOINs
* fixed bug #3902, now non-integer primaryCol are supported
* fixed bug #4189: update() quoted the PK even if the &quot;raw&quot; option was set
* fixed pass-by-reference error with PHP 5.1 (thanks to Dmitry Shirokov)</notes>
  </release>
  <release>
   <version>
    <release>1.0.0</release>
    <api>1.0.0</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2005-03-03</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>* fixed bug #3290, getCount() method returns zero when using an offset
  (patch by kubo at isite dot co dot jp)
* strings lenghtier than the column max size are truncated
  to prevent db errors
* using setOrder() with setGroup()+setHaving() could cause a malformed query
* fully tested with MySQL, PostgreSQL and Firebird/Interbase
  (added a new testsuite using SimpleTest)</notes>
  </release>
  <release>
   <version>
    <release>0.11.1</release>
    <api>0.11.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-10-18</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>* allow multiple left|right join clauses.
  NB: getJoin($type) now returns
    array(
       $joinTable1 =&gt; $joinOnClause1,
       $joinTable2 =&gt; $joinOnClause2,
    )
* allow class usage without instanciating a db object
  (to use the class as a simple query builder)
* unset non-specific PEAR::DB options before calling connect()
  (bug #1614)
* allow reuse of existing connection (bug #2007),
  thanks to eln at gmx dot net</notes>
  </release>
  <release>
   <version>
    <release>0.10.1</release>
    <api>0.10.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2004-05-05</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>* on UPDATE, field names are no more prefixed by the table name
  (it didn&apos;t work with PostgreSQL)
* added an $options parameter to connect()
* fixed bug #284 (Log::factory() needs to return a reference)
* fixed bug #298 (reset() does not reset limit)
* fixed bug #322 (undefined var $autoConnect)
* changed useResult() method; now it accepts a $type parameter, use it to return
  &apos;array&apos; results or &apos;object&apos; results (thanks to Roman Dostovalov).
  Please note that BC is maintained, useResult(true) will default to
  useResult(&apos;array&apos;), and useResult(false) will default to useResult(&apos;none&apos;).
* fixed problems with useResult(true) and empty results
* when using useResult(true), if the user doesn&apos;t call getFirst() on the first
  iteration, the class does so automatically
* PHP 5 fixes
* fixes to the testsuite</notes>
  </release>
  <release>
   <version>
    <release>0.9.8</release>
    <api>0.9.8</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-09-23</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>* added new method getQueryString() which returns the rendered query
* added setDbInstance() which lets you supply an existing DB-instance to work with
  using this you dont need to pass a DSN to the constructor!</notes>
  </release>
  <release>
   <version>
    <release>0.9.7</release>
    <api>0.9.7</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-09-15</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>* use Log 1.7 API</notes>
  </release>
  <release>
   <version>
    <release>0.9.6</release>
    <api>0.9.6</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-09-12</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>- bugfix in addMultiple()
- addWhereSearch now only prefixes known columns as it is supposed to be,
  otherwise it would also prefix aliases with the table name, which is bull...
- quirk in the addLeftJoin() method ... not nice, but v1.0 will be, unit tests pass but thats still not enough proof
- make setLimit also work to unset it</notes>
  </release>
  <release>
   <version>
    <release>0.9.5</release>
    <api>0.9.5</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-06-17</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>- bugfix when writing log files, times were wrong
- bugfix in EasyJoin, which added unnecessary conditions
- bugfix in building column alias which is at the end of the string
- bugfix in addMultiple() which didnt work without primaryCol
- bugfix in addHaving and unit test, thanks to Johannes Schaefer</notes>
  </release>
  <release>
   <version>
    <release>0.9.4</release>
    <api>0.9.4</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-06-06</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>- added set/getLimit(), which set the limit globally,
  getAll() and getCol() can still overwrite this temporarily
- added addOrder()
- added *Having() methods by Johannes Schaefer
- added log functionality
- added condition param to addWhereSearch()
- fix bug in building group clause for getCount()
- bug fix in building join</notes>
  </release>
  <release>
   <version>
    <release>0.9.3</release>
    <api>0.9.3</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-03-11</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>- new method getCol() which lets you retreive just one column
- getAll() takes an additional optional parameter, where you can define
  the method that should be used for firing the query
- update() does also consider the value of setWhere() when no primary column is given
  added a _buildUpdateQuery() for that too
- added umbrello-uml class diagram
- fixing some typos, esp. for making the useResult() work
- bugfix in update, use fully qualified table name (Uwe DÃ¶rl)
- bugfix in _buildSelectQuery, enclose column names by &quot;&quot;
  now Oracle should work and also reserved keywords can be used as column names (Uwe DÃ¶rl)
- some bugfixes and more CS issues</notes>
  </release>
  <release>
   <version>
    <release>0.9.2</release>
    <api>0.9.2</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-02-09</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>- now you can customize the sequence name
- testing on postgres and added example
- enhancing the constructor to take the error/log callbacks
- some cleaning up</notes>
  </release>
  <release>
   <version>
    <release>0.9.1</release>
    <api>0.9.1</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-01-29</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>maintanence release, fix a lot E_ALL issues and CS issues</notes>
  </release>
  <release>
   <version>
    <release>0.9</release>
    <api>0.9</api>
   </version>
   <stability>
    <release>stable</release>
    <api>stable</api>
   </stability>
   <date>2003-01-17</date>
   <license uri="http://www.php.net/license">PHP</license>
   <notes>- initial release in PEAR</notes>
  </release>
 </changelog>
</package>
