Better test coverage
This commit is contained in:
parent
1084f75730
commit
620441a9a3
@ -90,7 +90,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -90,7 +90,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -522,7 +522,7 @@ the connection/database</h2>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -233,7 +233,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -383,7 +383,7 @@ the last query executed</h2>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -386,7 +386,7 @@ the query</h2>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -262,7 +262,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -185,7 +185,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -157,7 +157,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -267,7 +267,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -181,7 +181,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -147,7 +147,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -262,7 +262,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -181,7 +181,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1523,7 +1523,7 @@ passed array with key / value pairs</h2>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -173,7 +173,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -195,7 +195,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -262,7 +262,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -177,7 +177,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -273,7 +273,7 @@ specified table</h2>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -992,7 +992,7 @@ passed array with key / value pairs</h2>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -66,7 +66,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -90,7 +90,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -63,7 +63,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -102,7 +102,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -106,7 +106,7 @@ instantiates the specific db driver">Query_Builder</a></li>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -66,7 +66,7 @@
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -185,7 +185,7 @@ data-fetching methods</p>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -147,7 +147,7 @@ instantiates the specific db driver</p>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -368,7 +368,7 @@ instantiates the specific db driver</p>
|
||||
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
|
||||
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
|
||||
</a> and<br>
|
||||
generated on 2014-02-25T11:30:08-05:00.<br></footer></div>
|
||||
generated on 2014-02-25T13:47:10-05:00.<br></footer></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<project title="Query" version="2.2.0 ">
|
||||
<partials/>
|
||||
<file path="classes/db_pdo.php" generated-path="classes.db_pdo.html" hash="7c8a088ccc0ae9823b3273260e250bba" package="Query">
|
||||
<file path="classes/db_pdo.php" generated-path="classes.db_pdo.html" hash="faabbcc7984e1b1f5e4d1ef418f37714" package="Query">
|
||||
<docblock line="0">
|
||||
<description>Query</description>
|
||||
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
||||
@ -383,19 +383,19 @@ the connection/database</description>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="413" package="Query\Query">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="416" package="Query\Query">
|
||||
<name>driver_query</name>
|
||||
<full_name>\DB_PDO::driver_query()</full_name>
|
||||
<docblock line="413">
|
||||
<docblock line="416">
|
||||
<description>Method to simplify retreiving db results for meta-data queries</description>
|
||||
<long-description></long-description>
|
||||
<tag name="param" line="413" description="" type="string" variable="$sql">
|
||||
<tag name="param" line="416" description="" type="string" variable="$sql">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
<tag name="param" line="413" description="" type="bool" variable="$filtered_index">
|
||||
<tag name="param" line="416" description="" type="bool" variable="$filtered_index">
|
||||
<type>bool</type>
|
||||
</tag>
|
||||
<tag name="return" line="413" description="" type="mixed">
|
||||
<tag name="return" line="416" description="" type="mixed">
|
||||
<type>mixed</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
@ -410,28 +410,28 @@ the connection/database</description>
|
||||
<type>bool</type>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="437" package="Query\Query">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="440" package="Query\Query">
|
||||
<name>num_rows</name>
|
||||
<full_name>\DB_PDO::num_rows()</full_name>
|
||||
<docblock line="437">
|
||||
<docblock line="440">
|
||||
<description>Return the number of rows returned for a SELECT query</description>
|
||||
<long-description></long-description>
|
||||
<tag name="see" line="437" description="" link="\http://us3.php.net/manual/en/pdostatement.rowcount.php#87110"/>
|
||||
<tag name="return" line="437" description="" type="int">
|
||||
<tag name="see" line="440" description="" link="\http://us3.php.net/manual/en/pdostatement.rowcount.php#87110"/>
|
||||
<tag name="return" line="440" description="" type="int">
|
||||
<type>int</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="true" static="false" visibility="public" namespace="" line="461" package="Query\Query">
|
||||
<method final="false" abstract="true" static="false" visibility="public" namespace="" line="464" package="Query\Query">
|
||||
<name>truncate</name>
|
||||
<full_name>\DB_PDO::truncate()</full_name>
|
||||
<docblock line="461">
|
||||
<docblock line="464">
|
||||
<description>Empty the passed table</description>
|
||||
<long-description></long-description>
|
||||
<tag name="param" line="461" description="" type="string" variable="$table">
|
||||
<tag name="param" line="464" description="" type="string" variable="$table">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
<tag name="return" line="461" description="" type="void">
|
||||
<tag name="return" line="464" description="" type="void">
|
||||
<type>void</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
@ -441,19 +441,19 @@ the connection/database</description>
|
||||
<type>string</type>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="472" package="Query\Query">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="475" package="Query\Query">
|
||||
<name>insert_batch</name>
|
||||
<full_name>\DB_PDO::insert_batch()</full_name>
|
||||
<docblock line="472">
|
||||
<docblock line="475">
|
||||
<description>Create sql for batch insert</description>
|
||||
<long-description></long-description>
|
||||
<tag name="param" line="472" description="" type="string" variable="$table">
|
||||
<tag name="param" line="475" description="" type="string" variable="$table">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
<tag name="param" line="472" description="" type="array" variable="$data">
|
||||
<tag name="param" line="475" description="" type="array" variable="$data">
|
||||
<type>array</type>
|
||||
</tag>
|
||||
<tag name="return" line="472" description="" type="string">
|
||||
<tag name="return" line="475" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
@ -469,9 +469,9 @@ the connection/database</description>
|
||||
</argument>
|
||||
</method>
|
||||
</class>
|
||||
<source>eJzFGmtz00jys/MrBpPCUpDtsLtVdxfOsCExR65CEhxn7+pCTjWWxvYQWRIaKcEH+e/XPQ+9LLOYSoAqIBn1e7p7unvm7y/jebzV39nZIjvkXcaSJfyAP79OGFML5FXGA58lpE8OaUonVDCyPxFpQr2URyE5pkuWaKzf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asCE8+YfBnU/68S7L14ar3c2z8+hg9fDo/Ox0cnctB+CcOygySevh6dvkW43o693ecduWRRlsZZWu5Taa8qmlWW4pY3C4pnTTCk8G3yAlYs70WKdJHW/aytDXhwenEytnZsgtKQz5rA5bOrO3VfnTsJWMMmkpR2pgOZo62VXtBDHarVMw7zJpHU1kRgLGLiyV8JPOAbjpLDDvHerHw7seEuehNxk6/oGtWg7oNPNGXFHczDBaC+mMcchoE2QY/D9iFLVnpsDUp9/fHJV5v+ioc7US4uaepHJLXXZ/oBU/XRxuXuVbE1Kg+U9+v6OqzSz6zcnsqom3IW+EXj+potRUFWQtzQQNSiUuV50lY34eToZHwK8SOp3hFLveBCkF69/97UW5UC2HYZqW2TP/aPL4bnpK34qYcDuZSQnwNr1zHXlZqEQzovO4qOhNe9wqZLAPUKwWx1i+hGN5x5AnWJWkM6xdc0GR7LqSB4XQvlNxEx8zgNiCdroEJg63OF553dXrGdK5+c1KyrZsScT81zGyPWPjZewwivtcksibIYVVFvfbx543sZCVVKfVo0p1m2mnALlszAM3DMqcmr6K4kO+2CqphAPFVl3eEL42Hoq6aXC7sO7jH/B9DfFYY=</source>
|
||||
</file>
|
||||
<file path="drivers/firebird/firebird_result.php" generated-path="drivers.firebird.firebird_result.html" hash="7cfd2d28a541bb6be8f327a1d0b8858d" package="Query">
|
||||
<file path="drivers/firebird/firebird_result.php" generated-path="drivers.firebird.firebird_result.html" hash="b982a41323135631817b1aaebea26e4d" package="Query">
|
||||
<docblock line="0">
|
||||
<description>Query</description>
|
||||
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
||||
@ -848,7 +848,7 @@ the query</description>
|
||||
</docblock>
|
||||
</method>
|
||||
</class>
|
||||
<source>eJztWG1z00YQ/iz/ii3jITbYETB8SmpKYpI2NBCahLYzDKM5SSf7Glmn3p2SeBj+e3fvJFmyZcIHQvuhzADWveztPvv23P34Uz7Pe/6jRz14BL8VXC3xB/0+Vpy7ATgsRBpzBT68YoaFTHM4CLVRLDJC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Vjg+yWB43KKPugswYIukbIt4Z2r921acuz6fg5V0qqqYz5RiBdqWyD/NWxQTuDS0CrVGT3vodxpU3HWSLB77KWdjasrd9OtxlLp+rMJevqzG1a6/UXetbcwc9BC8+7wt+lZoCH6MatZ85Pn+gh/TCLKcmT6p3Zpc4jvN/8A0OHFxY=</source>
|
||||
</file>
|
||||
<file path="drivers/firebird/firebird_util.php" generated-path="drivers.firebird.firebird_util.html" hash="a4399d9239d3e68c29ab6f1f66c8f9cc" package="Query">
|
||||
<docblock line="0">
|
||||
@ -4840,7 +4840,7 @@ in place of the get() method</description>
|
||||
</class>
|
||||
<source>eJzVWG1T4zYQ/mz/im3mZhyYEN/d3KceTJuA6dEJhEvSXvulHsVWbA227JNkuAylv70rWc4bvZIwHLR8Qaz32dU++yKJwx/KtHT9/X0X9uFjRcUcF3p9KiitBdCvWBZTAT6cEEWmRFLoTaUSJFKs4DAgcyos6kdSqbQQ4DgTlhcqncPPXfhEhKDcfI6Kci5YkirnuFlBO9qDt6/fvIUD/eud0csYv0IjqVKl/N73E6bSatqNitwn14yod+jXb3artSPKcVdGH9XLlGVSVSKhBUdQt7ryoyKmfjwl8YFVRqDvur4PB0/24zY8XhZSJYKOPw5AljRiswhw3VBUkuiKJBSW+5fVtBGeCHZNhTS7izIiJVwmiA21LZaXGc0pVxLYSd+Ibl3X0U4dNDNgOVOAoAqjQ4ERojdBcsBsMZ7AK/k5WxUzruBVpnH3pMVsJqkVC4pkcmtEi3zXKaspMgmzitdVYKy0tYOONdlpjByd9gbjYM91bl3H0RrQPYIWDM7OzyZwWyvftd5jKA6btZkMeZVTwaK2xe8h1GBXwMPT03Gg0bWKhjvOnTZhN6tVUXbnOsjQk2bZWVL+E1WgUgqfTZ+UGeEww+rXIr1TI34wFduwS7+gccYNv5ZIC2sFv10OemcX8Gsw6g/HAVKCOoYPTccTF/gi8hHhcZFDIXAw6HCu6PwG/1gGu01Uwhhprwfkwah3cTI8b+953zoG41CaVKkCK1gqwJmFky62c07uFk88DbWRjYAODw9192P5joNBcDyBFprnJKctOB0Nz6FVJmHjsKXVPn0IRsGK1sVwApjgtqcoTgCi6Guvs1i/8XR3OMPRSTCC/u8rsN742EXHL0AixpLtyp3BbEdfrWqC1OKaRMax83KibYUySmlOWt1aU66SWmPVvESCjsDr97BjJr3+IPC0EhZeo2JtWPL1R6ftYaYizFRWJF4HvPsuvb33L0S5nEusiEcxX0PD/2oC/gfkXzN6syPpGvKvZMOCba26MS6Mw1VWawZWx8XWpC1oX/r57i/w/kCktz5ZlgovOFrwzpjoC9Juw6VGbVXd+w+VtN3BWlFb+48cGs/G5RqVDTv3ubz4ZTD4CpPN4p+o1LDnD0OqQtAYSlFENK7ErtNvgdtu9ImiUoxvN/ys7nqjmvcAix5dKoshiRM0rGIV2pbFWWqr0Hu+MbieCIr3XR7tfPxY2Hb8R5pXmm3Qr3nTj6WWVlhh22pfMR6b02a8MdEaS8860NZIi4qsynHGFbP61VCXB9azOQS/9nZYfNyO4tpJTXCNfYBmvMkzTrKwLCTTFjqmPq0ZzVgt0LdWc5SvfY/pjFSZqmXmNZdl2qdVSon+xwEOy5x8YXmVhxnliUrrr/blF5YCeZDoeZHj+83Qtdwt8728l+hk39ah3q3nfDO0ZbN8y4eifqtjymVa3Nh3xgwwzRnmGenb9TTTrb/dRW1ebtwc7HjBvsA/zC1s9Rhr1JsLwJ+htzpwFre26UYfNcAFl3eu7wc81mGWCdY7Jpuzslum5d+97/A0</source>
|
||||
</file>
|
||||
<file path="drivers/mysql/mysql_sql.php" generated-path="drivers.mysql.mysql_sql.html" hash="9434b96944ed5da5e75959ad78f6c6df" package="Query">
|
||||
<file path="drivers/mysql/mysql_sql.php" generated-path="drivers.mysql.mysql_sql.html" hash="858c825aff246cb97b143e0aa5d9792f" package="Query">
|
||||
<docblock line="0">
|
||||
<description>Query</description>
|
||||
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
||||
@ -4956,93 +4956,93 @@ in place of the get() method</description>
|
||||
<type>string</type>
|
||||
</argument>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="103" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="101" package="Query\Drivers">
|
||||
<name>system_table_list</name>
|
||||
<full_name>\MySQL_SQL::system_table_list()</full_name>
|
||||
<docblock line="103">
|
||||
<docblock line="101">
|
||||
<description>Overridden in MySQL class</description>
|
||||
<long-description></long-description>
|
||||
<tag name="return" line="103" description="" type="string">
|
||||
<tag name="return" line="101" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="116" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="114" package="Query\Drivers">
|
||||
<name>view_list</name>
|
||||
<full_name>\MySQL_SQL::view_list()</full_name>
|
||||
<docblock line="116">
|
||||
<docblock line="114">
|
||||
<description>Returns sql to list views</description>
|
||||
<long-description></long-description>
|
||||
<tag name="return" line="116" description="" type="string">
|
||||
<tag name="return" line="114" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="128" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="126" package="Query\Drivers">
|
||||
<name>trigger_list</name>
|
||||
<full_name>\MySQL_SQL::trigger_list()</full_name>
|
||||
<docblock line="128">
|
||||
<docblock line="126">
|
||||
<description>Returns sql to list triggers</description>
|
||||
<long-description></long-description>
|
||||
<tag name="return" line="128" description="" type="string">
|
||||
<tag name="return" line="126" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="140" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="138" package="Query\Drivers">
|
||||
<name>function_list</name>
|
||||
<full_name>\MySQL_SQL::function_list()</full_name>
|
||||
<docblock line="140">
|
||||
<docblock line="138">
|
||||
<description>Return sql to list functions</description>
|
||||
<long-description></long-description>
|
||||
<tag name="return" line="140" description="" type="string">
|
||||
<tag name="return" line="138" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="152" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="150" package="Query\Drivers">
|
||||
<name>procedure_list</name>
|
||||
<full_name>\MySQL_SQL::procedure_list()</full_name>
|
||||
<docblock line="152">
|
||||
<docblock line="150">
|
||||
<description>Return sql to list stored procedures</description>
|
||||
<long-description></long-description>
|
||||
<tag name="return" line="152" description="" type="string">
|
||||
<tag name="return" line="150" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="164" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="162" package="Query\Drivers">
|
||||
<name>sequence_list</name>
|
||||
<full_name>\MySQL_SQL::sequence_list()</full_name>
|
||||
<docblock line="164">
|
||||
<docblock line="162">
|
||||
<description>Return sql to list sequences</description>
|
||||
<long-description></long-description>
|
||||
<tag name="return" line="164" description="" type="NULL">
|
||||
<tag name="return" line="162" description="" type="NULL">
|
||||
<type>NULL</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="176" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="174" package="Query\Drivers">
|
||||
<name>type_list</name>
|
||||
<full_name>\MySQL_SQL::type_list()</full_name>
|
||||
<docblock line="176">
|
||||
<docblock line="174">
|
||||
<description>SQL to show list of field types</description>
|
||||
<long-description></long-description>
|
||||
<tag name="return" line="176" description="" type="string">
|
||||
<tag name="return" line="174" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
</method>
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="189" package="Query\Drivers">
|
||||
<method final="false" abstract="false" static="false" visibility="public" namespace="" line="187" package="Query\Drivers">
|
||||
<name>column_list</name>
|
||||
<full_name>\MySQL_SQL::column_list()</full_name>
|
||||
<docblock line="189">
|
||||
<docblock line="187">
|
||||
<description>SQL to show infromation about columns in a table</description>
|
||||
<long-description></long-description>
|
||||
<tag name="param" line="189" description="" type="string" variable="$table">
|
||||
<tag name="param" line="187" description="" type="string" variable="$table">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
<tag name="return" line="189" description="" type="string">
|
||||
<tag name="return" line="187" description="" type="string">
|
||||
<type>string</type>
|
||||
</tag>
|
||||
</docblock>
|
||||
@ -5053,7 +5053,7 @@ in place of the get() method</description>
|
||||
</argument>
|
||||
</method>
|
||||
</class>
|
||||
<source>eJzFV21v2kgQ/mz/imlUCRIl+Fr1U++iKwGTcDKQYqP0pEp4sRdYxW/dXSdnIf57Z+0lkARyQQpKvmQZz8zO8+z4mfVff2fzzLROTkw4ge855QUu1LrDKa0McJGzKKQcLGgTSSZEUGhOhOQkkCxNwCEF5TrqW0aCWzKjhrHKBd9ILucpNwyPxamcF/BPA24I5zQpnwZpVnA2m0ujtVpBPTiGz398+gxn6t+X0i9iyS0YxlzKTHy1rBmT83zSCNLYIneMyC9YibXeM2IBTQSt/NE9m7NIyJzPaJpgUCO/tYI0pFY4IeGZdsZAyzQtC87e7M9cMdsr3O8OiIwGbBoArp/wBevSRT5ZGduc3VEuysKCiAhR5RmrXCzOIhrTRApg7YvStDBNQ+1nYBqHxUwCBuUIDA2lEXfjJAY8OpbM4KP4FW2aWSLhY6TinlnT6VRQbeYUeUx0EmWyTCPLJ0giTPOkaokyS11tcKpTnq6SnHeajmsfm8bCNAw2hTp8ACbGSR5TzoK69jpGh9LD0NupXI0jcLq9rgeLKufy6E/0WCLqHV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7b/vQVs/3C+WqDyKjPZj7g+hlf8FS6yKcrY5ezB8pFWZgfESGqPBOVi8VZRGOaSAGse1maFrquqf00TGOzmEnAoByBoaE04m6cxIBHx5I5vBc/ok0zSyS8j1TcL9Z0NhO0NnOKPCZ1EmUydC3Lp0gizPKkaokyS1NtcFanPFslubgybcdq6dpC1zQ2gya8AyYmSR5Tzvxm7dVCh9JDq7dTudonYPf6PRcWVc7lyZ/osUTUe7yqXMuzrQDl/5sPec36NZUgQwo/ynuTRSSBWcpLE1ZWmf/3NF5DMP0Pk7OkpLjmsg47sb7d2mZvANY31xp0rS6CR6ejQx+RJEhjSDkqhcJzT4tH/PGE9jWweJmkuY2oASNz0G22GsdGUG4nypOSKfawkICChcIX1LInDkMTTCcqyTM4J87N8A66pmtemo7lwN2NNbLAW0mrB+8uGizBtomJyjIRfkhj0jj6+e1AjxVFm6C3G3bFyusJKfNVnKyjLxqNbTGgcSaLp+etFmwRh7TZyNrVaNgHb7F2W3pI0EbPbPgeu2+GqNGcBQFNUCxrpS/V+rBuEYWQNJ5scPTsGjiWbXVc8EpUk4HZt7yahl/bxWtXbo6nNLRusSrQ6dxYfdO7+L6jy7433uKSPTD6eCBZKuRFkioaExLTF0kqt/beAjSim8/VcD8Idx21G3rZ8qPe9bU1OnrTj+piNxCtijwQ0mqxH9PVeNBxe8MBOK7pjt8CmpAppwFkPPVpkPNDB8E6bj/G29GwY3XHeE3fDiTF95PE3wFuMLbtfapVB+1CpsKODENpLdYvwvSxHtgzmDEaBSCL7NBjUiG7J3YlKt2e4/YGSl3U9J64/96+rMCdoT3uDxzv2KN7kwQshKdVIUCmaY7fAGmUxyg+OJtINYH3DfT1w9fRVSWux3kZu+tF5wqbAGomKrIWlXP9RrrELy4rCdTBxQW240S9wuM36U/hTd8B</source>
|
||||
</file>
|
||||
<file path="drivers/firebird/firebird_sql.php" generated-path="drivers.firebird.firebird_sql.html" hash="617ad88d71fd0da1a0f593d3a9b9d6d2" package="Query">
|
||||
<docblock line="0">
|
||||
@ -5690,7 +5690,7 @@ in place of the get() method</description>
|
||||
</class>
|
||||
<source>eJy1VF1v2jAUfXZ+xR1iClSFbFWfKGylELZujH7A1JdJkXFMYjXYqe10Q1X/+66TUNqq3VOHImH7nvt1zrX7n/M094K9PQ/24KLgeoMLt55ozqsDOClEFnMNAYyppUtqOAyXxmrKrFASpnTDde11nFN2TRNOyDYWHNPCpkoTshBrZdMNfOvCFdWay9LKVL7RIkktGW1X0GJtOPjw8QA67u+wxGVCXgMhqbW56QVBImxaLLtMrQN6K6g9xEqCXc5MMC4Nr/AIz1ORGVvohCuJTt3iOmAq5kG8pHGnBqNj4HlBAJ03+3lbZs+VsYnm84spmJwzsWLAMmrMM9pg14EpltvDsRa3XJuyvtILzhMXif+xXMYGxifR+fgM7jyPuHQE3UdKSs4sWAXUJa9zx7V+DlPiMLGma0AxhUygGRv50nFhuJZ0zV+y5VjPb6XjxzZUl24Amip3A2KcKfBIXiyRaVgVspqbKGJotLpgtuUy7+8SDWSRZfu74Nt9HXBQJmi12x658wgRK2hhnFyZOo6fJ+Ym89swGAxgMpzOw3bZGwxqU8/vuv0ROuOHRXNpe71/FPSoll0ZbfS/d6S/7cg8iBiuc7tB/VCz7FXJHowvMIytSEYtb1Womq4mEuCYWFz+nI2GixAaPnTrQLjwG77jpWlTYTqfbtxAtpzL/+72C7fYayaMBbUCw1K+pgZWSoNNObDCvRgWWDXY2N2OEM3xZstq6l5hIuE2qkO2ntLQ7/fxZuCezMNpOFrA+HS+OJ3holE5OPkbMLk8+wGNPIlKmkzDOVx9DS/Dp7DZ2QKmp99DN2e/ove+gw1n46egd0i+kNjZmrri6sJ8D+s4QkJI3U+tQFze/ui5EPf4UoUydlyVIx1VuC4+538B/m+mmw==</source>
|
||||
</file>
|
||||
<file path="common.php" generated-path="common.html" hash="2a50e3ac37bf90ebd1c25a77283e4d1a" package="Query">
|
||||
<file path="common.php" generated-path="common.html" hash="38a41849820505ed131ed016953ff267" package="Query">
|
||||
<docblock line="0">
|
||||
<description>Query</description>
|
||||
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
||||
@ -5816,9 +5816,9 @@ with array_map and glob</description>
|
||||
<tag name="subpackage" line="36" description="Query"/>
|
||||
</docblock>
|
||||
</class>
|
||||
<source>eJy9WFtv2zYUfpZ+xalhTHLnRFvRJ2dp6jbt0KFFsiTbMHSdQYm0zUUWVZJKYqT97zu8WZLjvAz1glxkngvP+c5V+emkXtZx9vRpDE/h14bJNT6Y57eSMXcArxpeUiYhg1OiSU4Ug2mutCSF5qKC92TNpJd6WZPimixYFAVd8JI0eilkFF3xldDLNfxyCH8QKVllqYWo15Ivljp6HZ4gLUbw7Icfn8GB+fPc8pW8uoYoWmpdq0mWLbheNvlhIVYZueFEP0dLsvbOkhesUszxI3u95KXSjVwwUaHQYXOdFYKyjOaEHnhmFMziOMvg4Jt9xQHZn0uRkxKKkijFVDZvKoudAr0kGqioEg2SkbJcw5xrINX6dskkA1Zu7PKKWMUkL4DdFay28M+FBPQCqOQ3TKqtQECLiWry7cMsthbBK0JPX51aBW82itmdZhVV8K66ISWnU7loVqzSLcP9173B9aiXhagq5vIOM5BXi//s8OuNpocu/1axuxqJjP5Oyobt1WU+hxSeQEiJGbvjSqs0oWLGq6JsKEtGo/g+jgw2Efr1qimvgXKJ9gmszlIQijjArZDXRIqmohasBhPHcN9ioQCWG1nPVqTGzKKwwGQ0NEtH3CRZeTBhWBO9dOeSYb1UcCM4NQdZHAUToTUttQKjOEL7Isk+N2jWTFRFIBzF0df4/8Nslc/Qj9UWYB+aUvN8rdmBInMGhmMj+hgO7m8Pifaoi4W/MvUSGyisSC3ZYiZZXRJEZJClf/+lvh99SfH3cJQ1ajCGAf4E0T2B5WvqLS81NnHRYL/JQYpbBbzSAkTFXH60hWSAsEcwDJRwvOJ3jMKQV5TdxR1wAl8Wt1mSz+b2ztRpGXsxG5thxW5n7o5jJ5yi/4irwDZYLL0IEIUmeExbkY+fUGhIPjp9nyxuccC8ZTvaH5ht82g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Y9agiw7mlJcztxbB07EkP0iCBxv/Z5Ce8WZTcDB/tzrpWu8xI3EQwIKGxum1UerHcai+GjfQtdcsu6EjMZ4a+tunT1/uIZ0xlzDjvd8DtXg33UP+Z8gY/zfkCQ7xa8fqgKZt/AFWkrko=</source>
|
||||
</file>
|
||||
<file path="autoload.php" generated-path="autoload.html" hash="5c2b8270c88016a93fbb0e7fcbd55ed2" package="Query">
|
||||
<file path="autoload.php" generated-path="autoload.html" hash="72a0a29e05a426b210ad71cbd6bc387f" package="Query">
|
||||
<docblock line="0">
|
||||
<description>Query</description>
|
||||
<long-description>Free Query Builder / Database Abstraction Layer</long-description>
|
||||
@ -5862,7 +5862,7 @@ with array_map and glob</description>
|
||||
<type>string</type>
|
||||
</argument>
|
||||
</function>
|
||||
<source>eJytU11P2zAUfXZ+xRVCJKmg3hBPbGiUtWhMSONL26PlJjeJRRIH22GrUP/77Dhuw8ue1pdavfd8+Pj085eu6iI6m0Uwg/se1cYe3PlaIfof4KoXdY4KKCy54WuuERZrbRTPjJAt3PINqhF12fHsmZdISOCCS96bSipCnkQjTbWB73P4xZXCdphmstsoUVaGfA0nSLIUTj98PIUT93U27NWifQZCKmM6fU5pKUzVr+eZbCh/FdycWSd0r1mLDFuNft+ud5WotelVibK1oHn/TDOZI83XPD8Zly2QRhGlcPLfPlFIdtEbWUvuUiykAncUbQn8lYuar2uEPCSb1Vxr1KMZj37AAm1eGYKRoKQ00HFTDSs5FqLFJL6/Wjyu2N3i6Vt8DLlQLW8wYez65nbFWDqPaZx+2vHdWbSjypV4tY6mkju+5cPNz9VDYNzTz2OP0iMjte5eeqEQtGysfdk0thNF3w7l0JHy02TK4JfmtnlTV7c2FHgZGrd3NJZK8QZs41xmh8NwMBtUPIrxMeTEr6TRW0T8ES4c2k1/owpjq0ys/UH22lpcC5WDRidmsN5ERBSQBAmGf4Q2OokLt8Yy2baYmTiFoyMIGhcXEBcjUZxGxMoTW3S+YQ3vkjiXTLRZ3edoAy1ruU6mIdsnClg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slA5Tu44/gL3myaEg==</source>
|
||||
</file>
|
||||
<file path="classes/query_parser.php" generated-path="classes.query_parser.html" hash="f048c6bc67b8a96880d904b8a697994e" package="Query">
|
||||
<docblock line="0">
|
||||
|
@ -28,14 +28,14 @@ class Firebird_Result extends PDOStatement {
|
||||
* @var resource
|
||||
*/
|
||||
private $statement;
|
||||
|
||||
|
||||
/**
|
||||
* Current row in result array
|
||||
*
|
||||
* @var int
|
||||
*/
|
||||
private $row;
|
||||
|
||||
|
||||
/**
|
||||
* Data pulled from query
|
||||
*
|
||||
@ -55,7 +55,7 @@ class Firebird_Result extends PDOStatement {
|
||||
$this->setFetchMode(PDO::FETCH_ASSOC);
|
||||
$this->row = -1;
|
||||
$this->result = array();
|
||||
|
||||
|
||||
// Create the result array, so that we can get row counts
|
||||
// Check the resource type, because prepared statements are "interbase query"
|
||||
// but we only want "interbase result" types when attempting to fetch data
|
||||
@ -65,14 +65,14 @@ class Firebird_Result extends PDOStatement {
|
||||
{
|
||||
$this->result[] = $row;
|
||||
}
|
||||
|
||||
|
||||
// Free the result resource
|
||||
fbird_free_result($link);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* Invalidate method for data consistency
|
||||
*
|
||||
@ -87,9 +87,9 @@ class Firebird_Result extends PDOStatement {
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* Invalidate method for data consistency
|
||||
*
|
||||
@ -104,9 +104,9 @@ class Firebird_Result extends PDOStatement {
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* Invalidate method for data consistency
|
||||
*
|
||||
@ -119,7 +119,7 @@ class Firebird_Result extends PDOStatement {
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
@ -152,22 +152,22 @@ class Firebird_Result extends PDOStatement {
|
||||
* @return mixed
|
||||
*/
|
||||
public function fetch($fetch_style=PDO::FETCH_ASSOC, $cursor_orientation = PDO::FETCH_ORI_NEXT, $cursor_offset=NULL)
|
||||
{
|
||||
{
|
||||
// If there is no result, continue
|
||||
if (empty($this->result))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
// Keep track of the current row being fetched
|
||||
++$this->row;
|
||||
|
||||
|
||||
// return NULL if the next row doesn't exist
|
||||
if ( ! isset($this->result[$this->row]))
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
switch($fetch_style)
|
||||
{
|
||||
case PDO::FETCH_OBJ:
|
||||
@ -182,7 +182,7 @@ class Firebird_Result extends PDOStatement {
|
||||
$row = $this->result[$this->row];
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
return $row;
|
||||
}
|
||||
|
||||
@ -209,29 +209,29 @@ class Firebird_Result extends PDOStatement {
|
||||
|
||||
return $all;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Emulate PDOStatement::fetchColumn
|
||||
*
|
||||
*
|
||||
* @param int $column_num
|
||||
* @return mixed
|
||||
* @return mixed
|
||||
*/
|
||||
public function fetchColumn($column_num=0)
|
||||
{
|
||||
$row = $this->fetch(PDO::FETCH_NUM);
|
||||
return $row[$column_num];
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
/**
|
||||
* Emulate PDOStatement::fetchObject, but only for the default use
|
||||
*
|
||||
*
|
||||
* @param string $class_name
|
||||
* @param array $ctor_args
|
||||
* @return stdClass
|
||||
* @return stdClass
|
||||
*/
|
||||
public function fetchObject($class_name='stdClass', $ctor_args=array())
|
||||
{
|
||||
@ -248,18 +248,18 @@ class Firebird_Result extends PDOStatement {
|
||||
public function rowCount()
|
||||
{
|
||||
$rows = fbird_affected_rows();
|
||||
|
||||
|
||||
// Get the number of rows for the select query if you can
|
||||
if ($rows === FALSE && is_resource($this->statement) && get_resource_type($this->statement) === "interbase result")
|
||||
if ($rows === 0 && is_resource($this->statement) && get_resource_type($this->statement) === "interbase result")
|
||||
{
|
||||
$rows = count($this->result);
|
||||
}
|
||||
|
||||
|
||||
return $rows;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* Method to emulate PDOStatement->errorCode
|
||||
*
|
||||
|
@ -38,9 +38,9 @@ class MySQL_SQL implements iDB_SQL {
|
||||
|
||||
return $sql." LIMIT {$offset}, {$limit}";
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* Get the query plan for the sql query
|
||||
*
|
||||
@ -86,10 +86,8 @@ class MySQL_SQL implements iDB_SQL {
|
||||
*/
|
||||
public function table_list($database='')
|
||||
{
|
||||
if ( ! empty($database))
|
||||
{
|
||||
return "SHOW TABLES FROM `{$database}`";
|
||||
}
|
||||
if ( ! empty($database)) return "SHOW TABLES FROM `{$database}`";
|
||||
|
||||
return 'SHOW TABLES';
|
||||
}
|
||||
|
||||
@ -102,7 +100,7 @@ class MySQL_SQL implements iDB_SQL {
|
||||
*/
|
||||
public function system_table_list()
|
||||
{
|
||||
return 'SELECT `TABLE_NAME` FROM `information_schema`.`TABLES`
|
||||
return 'SELECT `TABLE_NAME` FROM `information_schema`.`TABLES`
|
||||
WHERE `TABLE_SCHEMA`=\'information_schema\'';
|
||||
}
|
||||
|
||||
@ -165,9 +163,9 @@ class MySQL_SQL implements iDB_SQL {
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* SQL to show list of field types
|
||||
*
|
||||
@ -177,9 +175,9 @@ class MySQL_SQL implements iDB_SQL {
|
||||
{
|
||||
return "SELECT DISTINCT `DATA_TYPE` FROM `information_schema`.`COLUMNS`";
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* SQL to show infromation about columns in a table
|
||||
*
|
||||
|
@ -29,10 +29,10 @@ abstract class QBTest extends Query_TestCase {
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Get tests
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testInvalidConnectionName()
|
||||
{
|
||||
try
|
||||
try
|
||||
{
|
||||
$db = Query('foo');
|
||||
}
|
||||
@ -41,7 +41,7 @@ abstract class QBTest extends Query_TestCase {
|
||||
$this->assertIsA($e, 'InvalidArgumentException');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testQueryFunctionAlias()
|
||||
@ -79,6 +79,7 @@ abstract class QBTest extends Query_TestCase {
|
||||
$query = $this->db->from('test')->get();
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
$this->assertTrue($this->db->num_rows() > 0);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
@ -166,8 +167,8 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
@ -210,11 +211,11 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Grouping tests
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGroup()
|
||||
{
|
||||
$query = $this->db->select('id, key as k, val')
|
||||
@ -228,7 +229,7 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
public function testOrGroup()
|
||||
{
|
||||
$query = $this->db->select('id, key as k, val')
|
||||
@ -245,7 +246,7 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
public function testOrNotGroup()
|
||||
{
|
||||
$query = $this->db->select('id, key as k, val')
|
||||
@ -275,7 +276,7 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testOrWhereIn()
|
||||
@ -287,9 +288,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testWhereNotIn()
|
||||
{
|
||||
$query = $this->db->from('test')
|
||||
@ -299,9 +300,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testOrWhereNotIn()
|
||||
{
|
||||
$query = $this->db->from('test')
|
||||
@ -430,9 +431,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
//public function testOr
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testOrWhere()
|
||||
@ -457,9 +458,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testOrLike()
|
||||
{
|
||||
$query = $this->db->from('test')
|
||||
@ -469,9 +470,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testOrNotLike()
|
||||
{
|
||||
$query = $this->db->from('test')
|
||||
@ -481,9 +482,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testNotLike()
|
||||
{
|
||||
$query = $this->db->from('test')
|
||||
@ -493,9 +494,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testLikeBefore()
|
||||
{
|
||||
$query = $this->db->from('test')
|
||||
@ -504,9 +505,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testLikeAfter()
|
||||
{
|
||||
$query = $this->db->from('test')
|
||||
@ -562,9 +563,9 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testInsertArray()
|
||||
{
|
||||
$query = $this->db->insert('test', array(
|
||||
@ -575,7 +576,7 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertIsA($query, 'PDOStatement');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testInsertBatch()
|
||||
@ -698,20 +699,20 @@ abstract class QBTest extends Query_TestCase {
|
||||
|
||||
$this->assertTrue(is_numeric($this->db->num_rows()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Compiled Query tests
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetCompiledSelect()
|
||||
{
|
||||
$sql = $this->db->get_compiled_select('test');
|
||||
$qb_res = $this->db->get('test');
|
||||
$sql_res = $this->db->query($sql);
|
||||
|
||||
|
||||
$this->assertEquals($qb_res, $sql_res);
|
||||
}
|
||||
|
||||
|
||||
public function testGetCompiledUpdate()
|
||||
{
|
||||
$sql = $this->db->set(array(
|
||||
@ -719,10 +720,10 @@ abstract class QBTest extends Query_TestCase {
|
||||
'key' => 'foo',
|
||||
'val' => 'baz'
|
||||
))->get_compiled_update('test');
|
||||
|
||||
|
||||
$this->assertTrue(is_string($sql));
|
||||
}
|
||||
|
||||
|
||||
public function testGetCompiledInsert()
|
||||
{
|
||||
$sql = $this->db->set(array(
|
||||
@ -730,15 +731,15 @@ abstract class QBTest extends Query_TestCase {
|
||||
'key' => 'foo',
|
||||
'val' => 'baz'
|
||||
))->get_compiled_insert('test');
|
||||
|
||||
|
||||
$this->assertTrue(is_string($sql));
|
||||
}
|
||||
|
||||
|
||||
public function testGetCompiledDelete()
|
||||
{
|
||||
$sql = $this->db->where('id', 4)
|
||||
->get_compiled_delete('test');
|
||||
|
||||
|
||||
$this->assertTrue(is_string($sql));
|
||||
}
|
||||
|
||||
@ -759,8 +760,8 @@ abstract class QBTest extends Query_TestCase {
|
||||
'pass' => NULL,
|
||||
'type' => 'QGYFHGEG'
|
||||
);
|
||||
|
||||
try
|
||||
|
||||
try
|
||||
{
|
||||
$this->db = Query($params);
|
||||
}
|
||||
@ -783,8 +784,8 @@ abstract class QBTest extends Query_TestCase {
|
||||
'type' => 'mysql',
|
||||
'name' => 'foobar'
|
||||
);
|
||||
|
||||
try
|
||||
|
||||
try
|
||||
{
|
||||
$this->db = @Query($params);
|
||||
}
|
||||
@ -793,23 +794,23 @@ abstract class QBTest extends Query_TestCase {
|
||||
$this->assertInstanceOf('BadConnectionException', $e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testBadMethod()
|
||||
{
|
||||
try
|
||||
{
|
||||
$res = $this->db->foo();
|
||||
$res = $this->db->foo();
|
||||
}
|
||||
catch(BadMethodCallException $e)
|
||||
{
|
||||
$this->assertInstanceOf('BadMethodCallException', $e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testBadNumRows()
|
||||
{
|
||||
$this->db->set(array(
|
||||
@ -817,7 +818,7 @@ abstract class QBTest extends Query_TestCase {
|
||||
'key' => 'ring',
|
||||
'val' => 'sale'
|
||||
))->insert('test');
|
||||
|
||||
|
||||
$res = $this->db->num_rows();
|
||||
$this->assertEqual(NULL, $res);
|
||||
}
|
||||
|
@ -19,14 +19,14 @@
|
||||
abstract class DBTest extends Query_TestCase {
|
||||
|
||||
abstract public function testConnection();
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
$this->db = NULL;
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testGetTables()
|
||||
@ -34,7 +34,7 @@ abstract class DBTest extends Query_TestCase {
|
||||
$tables = $this->db->get_tables();
|
||||
$this->assertTrue(is_array($tables));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testGetSystemTables()
|
||||
@ -43,7 +43,7 @@ abstract class DBTest extends Query_TestCase {
|
||||
|
||||
$this->assertTrue(is_array($tables));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testCreateTransaction()
|
||||
@ -51,29 +51,29 @@ abstract class DBTest extends Query_TestCase {
|
||||
$res = $this->db->beginTransaction();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testBackupData()
|
||||
{
|
||||
$this->assertTrue(is_string($this->db->util->backup_data(array('create_delete'))));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetColumns()
|
||||
{
|
||||
$cols = $this->db->get_columns('test');
|
||||
$this->assertTrue(is_array($cols));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetTypes()
|
||||
{
|
||||
$types = $this->db->get_types();
|
||||
$this->assertTrue(is_array($types));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
// End of db_test.php
|
@ -18,11 +18,11 @@
|
||||
* @requires extension interbase
|
||||
*/
|
||||
class FirebirdQBTest extends QBTest {
|
||||
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
{
|
||||
$dbpath = QTEST_DIR.QDS.'db_files'.QDS.'FB_TEST_DB.FDB';
|
||||
|
||||
|
||||
if ( ! function_exists('fbird_connect'))
|
||||
{
|
||||
$this->markTestSkipped('Firebird extension does not exist');
|
||||
@ -41,12 +41,12 @@ class FirebirdQBTest extends QBTest {
|
||||
$params->options[PDO::ATTR_PERSISTENT] = TRUE;
|
||||
$this->db = Query($params);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetNamedConnectionException()
|
||||
{
|
||||
try
|
||||
try
|
||||
{
|
||||
$db = Query('fire');
|
||||
}
|
||||
@ -55,9 +55,9 @@ class FirebirdQBTest extends QBTest {
|
||||
$this->assertIsA($e, 'InvalidArgumentException');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetNamedConnection()
|
||||
{
|
||||
$dbpath = QTEST_DIR.QDS.'db_files'.QDS.'FB_TEST_DB.FDB';
|
||||
@ -72,18 +72,18 @@ class FirebirdQBTest extends QBTest {
|
||||
$params->pass = 'masterkey';
|
||||
$params->prefix = '';
|
||||
$f_conn = Query($params);
|
||||
|
||||
|
||||
$this->assertReference($f_conn, Query('fire'));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetCompiledSelect()
|
||||
{
|
||||
$sql = $this->db->get_compiled_select('create_test');
|
||||
$qb_res = $this->db->get('create_test');
|
||||
$sql_res = $this->db->query($sql);
|
||||
|
||||
|
||||
$this->assertIsA($qb_res, 'Firebird_Result');
|
||||
$this->assertIsA($sql_res, 'Firebird_Result');
|
||||
}
|
||||
@ -91,7 +91,7 @@ class FirebirdQBTest extends QBTest {
|
||||
public function testInsertBatch()
|
||||
{
|
||||
if (empty($this->db)) return;
|
||||
|
||||
|
||||
$insert_array = array(
|
||||
array(
|
||||
'id' => 6,
|
||||
@ -114,7 +114,7 @@ class FirebirdQBTest extends QBTest {
|
||||
|
||||
$this->assertNull($query);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testTypeList()
|
||||
@ -128,9 +128,9 @@ class FirebirdQBTest extends QBTest {
|
||||
|
||||
$this->assertTrue(is_array($res));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testQueryExplain()
|
||||
{
|
||||
$res = $this->db->select('id, key as k, val')
|
||||
@ -139,14 +139,37 @@ class FirebirdQBTest extends QBTest {
|
||||
->where('id <', 900)
|
||||
->limit(2, 1)
|
||||
->get_compiled_select();
|
||||
|
||||
|
||||
$res2 = $this->db->select('id, key as k, val')
|
||||
->where('id >', 1)
|
||||
->where('id <', 900)
|
||||
->limit(2, 1)
|
||||
->get_compiled_select();
|
||||
|
||||
|
||||
// Queries are equal because explain is not a keyword in Firebird
|
||||
$this->assertEqual($res, $res2);
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testResultErrors()
|
||||
{
|
||||
$obj = $this->db->query('SELECT * FROM "create_test"');
|
||||
|
||||
// Test row count
|
||||
$this->assertEqual(0, $obj->rowCount());
|
||||
|
||||
// Test error code
|
||||
$this->assertFalse($obj->errorCode());
|
||||
|
||||
// Test error info
|
||||
$error = $obj->errorInfo();
|
||||
$expected = array (
|
||||
0 => 0,
|
||||
1 => false,
|
||||
2 => false,
|
||||
);
|
||||
|
||||
$this->assertEqual($expected, $error);
|
||||
}
|
||||
}
|
@ -15,105 +15,82 @@
|
||||
|
||||
/**
|
||||
* Firebirdtest class.
|
||||
*
|
||||
*
|
||||
* @extends DBtest
|
||||
* @requires extension interbase
|
||||
*/
|
||||
class FirebirdTest extends DBtest {
|
||||
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
{
|
||||
$dbpath = QTEST_DIR.QDS.'db_files'.QDS.'FB_TEST_DB.FDB';
|
||||
|
||||
|
||||
if ( ! function_exists('fbird_connect'))
|
||||
{
|
||||
$this->markTestSkipped('Firebird extension does not exist');
|
||||
}
|
||||
|
||||
|
||||
// test the db driver directly
|
||||
$this->db = new Firebird('localhost:'.$dbpath);
|
||||
$this->tables = $this->db->get_tables();
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function tearDown()
|
||||
{
|
||||
unset($this->db);
|
||||
unset($this->tables);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
/**
|
||||
* coverage for methods in result class that aren't implemented
|
||||
*/
|
||||
public function testNullResultMethods()
|
||||
{
|
||||
$obj = $this->db->query('SELECT "id" FROM "create_test"');
|
||||
|
||||
|
||||
$val = "bar";
|
||||
|
||||
|
||||
$this->assertNull($obj->bindColumn('foo', $val));
|
||||
$this->assertNull($obj->bindParam('foo', $val));
|
||||
$this->assertNull($obj->bindValue('foo', $val));
|
||||
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testResultErrors()
|
||||
{
|
||||
$obj = $this->db->query('SELECT "id" FROM "create_test"');
|
||||
|
||||
// Test row count
|
||||
$this->assertEqual(0, $obj->rowCount());
|
||||
|
||||
// Test error code
|
||||
$this->assertFalse($obj->errorCode());
|
||||
|
||||
// Test error info
|
||||
$error = $obj->errorInfo();
|
||||
$expected = array (
|
||||
0 => 0,
|
||||
1 => false,
|
||||
2 => false,
|
||||
);
|
||||
|
||||
$this->assertEqual($expected, $error);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testExists()
|
||||
{
|
||||
$this->assertTrue(function_exists('ibase_connect'));
|
||||
$this->assertTrue(function_exists('fbird_connect'));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testConnection()
|
||||
{
|
||||
$this->assertIsA($this->db, 'Firebird');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetTables()
|
||||
{
|
||||
$tables = $this->tables;
|
||||
$this->assertTrue(is_array($tables));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetSystemTables()
|
||||
{
|
||||
{
|
||||
$only_system = TRUE;
|
||||
|
||||
|
||||
$tables = $this->db->get_system_tables();
|
||||
|
||||
|
||||
foreach($tables as $t)
|
||||
{
|
||||
if(stripos($t, 'rdb$') !== 0 && stripos($t, 'mon$') !== 0)
|
||||
@ -122,18 +99,18 @@ class FirebirdTest extends DBtest {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$this->assertTrue($only_system);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testCreateTransaction()
|
||||
{
|
||||
$res = $this->db->beginTransaction();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// ! Create / Delete Tables
|
||||
// --------------------------------------------------------------------------
|
||||
@ -142,170 +119,172 @@ class FirebirdTest extends DBtest {
|
||||
{
|
||||
//Attempt to create the table
|
||||
$sql = $this->db->util->create_table('create_delete', array(
|
||||
'id' => 'SMALLINT',
|
||||
'key' => 'VARCHAR(64)',
|
||||
'id' => 'SMALLINT',
|
||||
'key' => 'VARCHAR(64)',
|
||||
'val' => 'BLOB SUB_TYPE TEXT'
|
||||
));
|
||||
$this->db->query($sql);
|
||||
|
||||
|
||||
//Check
|
||||
$this->assertTrue(in_array('create_delete', $this->db->get_tables()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testDeleteTable()
|
||||
{
|
||||
//Attempt to delete the table
|
||||
$sql = $this->db->util->delete_table('create_delete');
|
||||
$this->db->query($sql);
|
||||
|
||||
|
||||
//Check
|
||||
$table_exists = in_array('create_delete', $this->db->get_tables());
|
||||
$this->assertFalse($table_exists);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testTruncate()
|
||||
{
|
||||
$this->db->truncate('create_test');
|
||||
|
||||
|
||||
$this->assertTrue($this->db->affected_rows() > 0);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testCommitTransaction()
|
||||
{
|
||||
$res = $this->db->beginTransaction();
|
||||
|
||||
|
||||
$sql = 'INSERT INTO "create_test" ("id", "key", "val") VALUES (10, 12, 14)';
|
||||
$this->db->query($sql);
|
||||
|
||||
|
||||
$res = $this->db->commit();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testRollbackTransaction()
|
||||
{
|
||||
$res = $this->db->beginTransaction();
|
||||
|
||||
|
||||
$sql = 'INSERT INTO "create_test" ("id", "key", "val") VALUES (182, 96, 43)';
|
||||
$this->db->query($sql);
|
||||
|
||||
|
||||
$res = $this->db->rollback();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testPreparedStatements()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
INSERT INTO "create_test" ("id", "key", "val")
|
||||
INSERT INTO "create_test" ("id", "key", "val")
|
||||
VALUES (?,?,?)
|
||||
SQL;
|
||||
$query = $this->db->prepare($sql);
|
||||
$query->execute(array(1,"booger's", "Gross"));
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testPrepareExecute()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
INSERT INTO "create_test" ("id", "key", "val")
|
||||
INSERT INTO "create_test" ("id", "key", "val")
|
||||
VALUES (?,?,?)
|
||||
SQL;
|
||||
$this->db->prepare_execute($sql, array(
|
||||
2, "works", 'also?'
|
||||
));
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testFetch()
|
||||
{
|
||||
$res = $this->db->query('SELECT "key","val" FROM "create_test"');
|
||||
|
||||
|
||||
// Object
|
||||
$fetchObj = $res->fetchObject();
|
||||
$this->assertIsA($fetchObj, 'stdClass');
|
||||
|
||||
|
||||
// Associative array
|
||||
$fetchAssoc = $res->fetch(PDO::FETCH_ASSOC);
|
||||
$this->assertTrue(array_key_exists('key', $fetchAssoc));
|
||||
|
||||
|
||||
// Numeric array
|
||||
$res2 = $this->db->query('SELECT "id","key","val" FROM "create_test"');
|
||||
$fetch = $res2->fetch(PDO::FETCH_NUM);
|
||||
$this->assertTrue(is_array($fetch));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testPrepareQuery()
|
||||
{
|
||||
$this->assertNull($this->db->prepare_query('', array()));
|
||||
$this->assertNull($this->db->prepare_query('', array()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetSequences()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_sequences()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetProcedures()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_procedures()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetFunctions()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_functions()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetTriggers()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_triggers()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testErrorInfo()
|
||||
{
|
||||
$result = $this->db->errorInfo();
|
||||
|
||||
|
||||
$expected = array (
|
||||
0 => 0,
|
||||
1 => false,
|
||||
2 => false,
|
||||
);
|
||||
|
||||
|
||||
$this->assertEqual($expected, $result);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testErrorCode()
|
||||
|
||||
public function testErrorCode()
|
||||
{
|
||||
$result = $this->db->errorCode();
|
||||
$this->assertFalse($result);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testDBList()
|
||||
|
||||
public function testDBList()
|
||||
{
|
||||
$res = $this->db->sql->db_list();
|
||||
$this->assertNULL($res);
|
||||
|
@ -38,21 +38,21 @@ class MySQLTest extends DBTest {
|
||||
$this->db = new MySQL('host=127.0.0.1;port=3306;dbname=test', 'root');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testExists()
|
||||
{
|
||||
$this->assertTrue(in_array('mysql', PDO::getAvailableDrivers()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testConnection()
|
||||
{
|
||||
$this->assertIsA($this->db, 'MySQL');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testCreateTable()
|
||||
@ -90,17 +90,17 @@ class MySQLTest extends DBTest {
|
||||
$this->assertTrue(in_array('test', $dbs));
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testTruncate()
|
||||
{
|
||||
$this->db->truncate('test');
|
||||
$this->db->truncate('join');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testPreparedStatements()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
@ -110,20 +110,20 @@ SQL;
|
||||
$statement = $this->db->prepare_query($sql, array(1,"boogers", "Gross"));
|
||||
|
||||
$res = $statement->execute();
|
||||
|
||||
|
||||
$this->assertTrue($res);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testBadPreparedStatement()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
INSERT INTO `test` (`id`, `key`, `val`)
|
||||
VALUES (?,?,?)
|
||||
SQL;
|
||||
try
|
||||
try
|
||||
{
|
||||
$statement = $this->db->prepare_query($sql, 'foo');
|
||||
}
|
||||
@ -131,9 +131,9 @@ SQL;
|
||||
{
|
||||
$this->assertTrue(TRUE);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testPrepareExecute()
|
||||
@ -145,11 +145,11 @@ SQL;
|
||||
$res = $this->db->prepare_execute($sql, array(
|
||||
2, "works", 'also?'
|
||||
));
|
||||
|
||||
|
||||
$this->assertInstanceOf('PDOStatement', $res);
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testCommitTransaction()
|
||||
@ -162,7 +162,7 @@ SQL;
|
||||
$res = $this->db->commit();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testRollbackTransaction()
|
||||
@ -175,35 +175,44 @@ SQL;
|
||||
$res = $this->db->rollback();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetSchemas()
|
||||
{
|
||||
$this->assertNull($this->db->get_schemas());
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetsProcedures()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_procedures()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetFunctions()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_functions()));
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testGetTriggers()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_triggers()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetSequences()
|
||||
{
|
||||
$this->assertNull($this->db->get_sequences());
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testBackup()
|
||||
{
|
||||
$this->assertTrue(is_string($this->db->util->backup_structure()));
|
||||
|
@ -21,8 +21,8 @@
|
||||
class PgTest extends DBTest {
|
||||
|
||||
public function setUp()
|
||||
{
|
||||
|
||||
{
|
||||
|
||||
// If the database isn't installed, skip the tests
|
||||
if ( ! class_exists("PgSQL"))
|
||||
{
|
||||
@ -42,14 +42,14 @@ class PgTest extends DBTest {
|
||||
$this->db = new PgSQL('host=127.0.0.1;port=5432;dbname=test', 'postgres');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testExists()
|
||||
{
|
||||
$this->assertTrue(in_array('pgsql', PDO::getAvailableDrivers()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testConnection()
|
||||
@ -58,7 +58,7 @@ class PgTest extends DBTest {
|
||||
|
||||
$this->assertIsA($this->db, 'PgSQL');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testCreateTable()
|
||||
@ -110,20 +110,20 @@ class PgTest extends DBTest {
|
||||
$this->assertTrue(in_array('create_test', $dbs));
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testTruncate()
|
||||
{
|
||||
$this->db->truncate('create_test');
|
||||
$this->db->truncate('create_join');
|
||||
|
||||
|
||||
$ct_query = $this->db->query('SELECT * FROM create_test');
|
||||
$cj_query = $this->db->query('SELECT * FROM create_join');
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testPreparedStatements()
|
||||
{
|
||||
if (empty($this->db)) return;
|
||||
@ -137,16 +137,16 @@ SQL;
|
||||
$statement->execute();
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testBadPreparedStatement()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
INSERT INTO "create_test" ("id", "key", "val")
|
||||
VALUES (?,?,?)
|
||||
SQL;
|
||||
try
|
||||
try
|
||||
{
|
||||
$statement = $this->db->prepare_query($sql, 'foo');
|
||||
}
|
||||
@ -154,9 +154,9 @@ SQL;
|
||||
{
|
||||
$this->assertTrue(TRUE);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testPrepareExecute()
|
||||
@ -172,7 +172,7 @@ SQL;
|
||||
));
|
||||
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testCommitTransaction()
|
||||
@ -187,7 +187,7 @@ SQL;
|
||||
$res = $this->db->commit();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testRollbackTransaction()
|
||||
@ -202,32 +202,46 @@ SQL;
|
||||
$res = $this->db->rollback();
|
||||
$this->assertTrue($res);
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetSchemas()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_schemas()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetSequences()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_sequences()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetsProcedures()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_procedures()));
|
||||
}
|
||||
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
|
||||
public function testGetTriggers()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_triggers()));
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testGetDBs()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_dbs()));
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testGetFunctions()
|
||||
{
|
||||
$this->assertNull($this->db->get_functions());
|
||||
}
|
||||
}
|
@ -234,6 +234,13 @@ SQL;
|
||||
$this->assertNull($this->db->get_schemas());
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
public function testGetTypes()
|
||||
{
|
||||
$this->assertTrue(is_array($this->db->get_types()));
|
||||
}
|
||||
|
||||
// --------------------------------------------------------------------------
|
||||
// ! SQL tests
|
||||
// --------------------------------------------------------------------------
|
||||
@ -256,6 +263,5 @@ SQL;
|
||||
$this->assertEqual(NULL, $sql);
|
||||
}
|
||||
|
||||
// @TODO Fix this
|
||||
public function testGetTypes() {}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user