54 lines
71 KiB
HTML
54 lines
71 KiB
HTML
<?xml version="1.0"?>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><title>phpDox - Source of common.php</title><link rel="stylesheet" type="text/css" href="../css/style.css" media="screen"/><link rel="stylesheet" href="../css/source.css"/><meta http-equiv="content-type" content="text/html; charset=utf-8"/></head><body><nav class="topnav"><ul><li><div class="logo"><span>/**</span>phpDox</div></li><li class="separator"><a href="../index.html">Overview</a></li><li class="separator"><a href="../namespaces.html">Namespaces</a></li><li><a href="../interfaces.html">Interfaces</a></li><li><a href="../classes.html">Classes</a></li><li class="separator"><a href="../source/index.html">Source</a></li></ul></nav><div id="mainstage"><div class="box"><ul class="breadcrumb"><li><a href="../index.html">Overview</a></li><li class="separator"><a href="../source/index.html">Source</a></li></ul></div><h1>Source of file common.php</h1><p>
|
|
Size: 2,647 Bytes - Last Modified: 2018-01-25T14:51:55+00:00</p><section><h2><small>src/</small>common.php</h2><table class="source"><tr><td class="no"><a class="anker" href="#line1">1</a><a class="anker" href="#line2">2</a><a class="anker" href="#line3">3</a><a class="anker" href="#line4">4</a><a class="anker" href="#line5">5</a><a class="anker" href="#line6">6</a><a class="anker" href="#line7">7</a><a class="anker" href="#line8">8</a><a class="anker" href="#line9">9</a><a class="anker" href="#line10">10</a><a class="anker" href="#line11">11</a><a class="anker" href="#line12">12</a><a class="anker" href="#line13">13</a><a class="anker" href="#line14">14</a><a class="anker" href="#line15">15</a><a class="anker" href="#line16">16</a><a class="anker" href="#line17">17</a><a class="anker" href="#line18">18</a><a class="anker" href="#line19">19</a><a class="anker" href="#line20">20</a><a class="anker" href="#line21">21</a><a class="anker" href="#line22">22</a><a class="anker" href="#line23">23</a><a class="anker" href="#line24">24</a><a class="anker" href="#line25">25</a><a class="anker" href="#line26">26</a><a class="anker" href="#line27">27</a><a class="anker" href="#line28">28</a><a class="anker" href="#line29">29</a><a class="anker" href="#line30">30</a><a class="anker" href="#line31">31</a><a class="anker" href="#line32">32</a><a class="anker covered" href="#line33">33</a><div class="coverage_details"><span>
|
|
Covered by 196 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testTruncate</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testFunctionGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testPrefixGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetWNumRows</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetLimit</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetLimitSkip</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetWhere</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testHaving</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrHaving</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectAvg</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectSum</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectDistinct</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectFromGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectFromLimitGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectWhereGet2</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectMax</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectMin</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testMultiOrderBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testWhereIn</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrWhereIn</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testWhereNotIn</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrWhereNotIn</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testLike</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrLike</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrNotLike</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testNotLike</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testLikeBefore</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testLikeAfter</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testJoin</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testLeftJoin</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInnerJoin</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInsert</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInsertArray</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInsertBatch</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testUpdate</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testDriverUpdateBatch</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSetArrayUpdate</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testWhereSetUpdate</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testDelete</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testCountAll</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testCountAllResults</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testNumRows</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetCompiledSelect</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetCompiledUpdate</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetCompiledInsert</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGetCompiledDelete</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testBadNumRows</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testTruncate</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testFunctionGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testPrefixGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetWNumRows</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetLimit</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetLimitSkip</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetWhere</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testHaving</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrHaving</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectAvg</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectSum</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectDistinct</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectFromGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectFromLimitGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectWhereGet2</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectMax</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectMin</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testMultiOrderBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testWhereIn</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrWhereIn</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testWhereNotIn</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrWhereNotIn</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testLike</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrLike</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrNotLike</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testNotLike</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testLikeBefore</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testLikeAfter</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testJoin</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testLeftJoin</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInnerJoin</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInsert</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInsertArray</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInsertBatch</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testUpdate</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testDriverUpdateBatch</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSetArrayUpdate</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testWhereSetUpdate</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testDelete</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testCountAll</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testCountAllResults</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testNumRows</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetCompiledSelect</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetCompiledUpdate</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetCompiledInsert</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGetCompiledDelete</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testBadNumRows</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testBackupStructure</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testDeleteTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testTruncate</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testFunctionGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testPrefixGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetWNumRows</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetLimit</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetLimitSkip</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetWhere</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testHaving</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrHaving</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectAvg</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectSum</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectDistinct</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectFromGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectFromLimitGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectWhereGet2</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectMax</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectMin</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testMultiOrderBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testWhereIn</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrWhereIn</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testWhereNotIn</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrWhereNotIn</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testLike</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrLike</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrNotLike</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testNotLike</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testLikeBefore</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testLikeAfter</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testJoin</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testLeftJoin</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInnerJoin</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInsert</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInsertArray</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInsertBatch</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testUpdate</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testDriverUpdateBatch</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSetArrayUpdate</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testWhereSetUpdate</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testDelete</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testCountAll</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testCountAllResults</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testNumRows</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetCompiledSelect</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetCompiledUpdate</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetCompiledInsert</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGetCompiledDelete</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testBadNumRows</li></ul></div><a class="anker" href="#line34">34</a><a class="anker" href="#line35">35</a><a class="anker" href="#line36">36</a><a class="anker" href="#line37">37</a><a class="anker" href="#line38">38</a><a class="anker" href="#line39">39</a><a class="anker" href="#line40">40</a><a class="anker" href="#line41">41</a><a class="anker" href="#line42">42</a><a class="anker" href="#line43">43</a><a class="anker" href="#line44">44</a><a class="anker covered" href="#line45">45</a><div class="coverage_details"><span>
|
|
Covered by 20 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackup</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSchemas</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetDBs</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testCreateTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testDeleteTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetDBs</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetTables</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetViews</li></ul></div><a class="anker" href="#line46">46</a><a class="anker covered" href="#line47">47</a><div class="coverage_details"><span>
|
|
Covered by 20 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackup</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSchemas</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetDBs</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testCreateTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testDeleteTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetDBs</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetTables</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetViews</li></ul></div><a class="anker" href="#line48">48</a><a class="anker covered" href="#line49">49</a><div class="coverage_details"><span>
|
|
Covered by 20 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackup</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSchemas</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetDBs</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testCreateTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testDeleteTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetDBs</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetTables</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetViews</li></ul></div><a class="anker" href="#line50">50</a><a class="anker" href="#line51">51</a><a class="anker covered" href="#line52">52</a><div class="coverage_details"><span>
|
|
Covered by 20 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackup</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSchemas</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetDBs</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSystemTables</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testBackupData</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetViews</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testCreateTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testDeleteTable</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetDBs</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetSequences</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetTables</li><li>Query\Tests\Drivers\SQLite\SQLiteDriverTest::testGetViews</li></ul></div><a class="anker" href="#line53">53</a><a class="anker" href="#line54">54</a><a class="anker" href="#line55">55</a><a class="anker" href="#line56">56</a><a class="anker" href="#line57">57</a><a class="anker" href="#line58">58</a><a class="anker" href="#line59">59</a><a class="anker" href="#line60">60</a><a class="anker" href="#line61">61</a><a class="anker" href="#line62">62</a><a class="anker" href="#line63">63</a><a class="anker" href="#line64">64</a><a class="anker" href="#line65">65</a><a class="anker covered" href="#line66">66</a><div class="coverage_details"><span>
|
|
Covered by 2 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li></ul></div><a class="anker" href="#line67">67</a><a class="anker covered" href="#line68">68</a><div class="coverage_details"><span>
|
|
Covered by 2 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li></ul></div><a class="anker" href="#line69">69</a><a class="anker covered" href="#line70">70</a><div class="coverage_details"><span>
|
|
Covered by 2 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li></ul></div><a class="anker" href="#line71">71</a><a class="anker covered" href="#line72">72</a><div class="coverage_details"><span>
|
|
Covered by 2 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li></ul></div><a class="anker" href="#line73">73</a><a class="anker covered" href="#line74">74</a><div class="coverage_details"><span>
|
|
Covered by 2 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li></ul></div><a class="anker" href="#line75">75</a><a class="anker covered" href="#line76">76</a><div class="coverage_details"><span>
|
|
Covered by 2 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li></ul></div><a class="anker" href="#line77">77</a><a class="anker" href="#line78">78</a><a class="anker" href="#line79">79</a><a class="anker covered" href="#line80">80</a><div class="coverage_details"><span>
|
|
Covered by 2 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLDriverTest::testCreateTable</li><li>Query\Tests\Drivers\PgSQL\PgSQLDriverTest::testCreateTable</li></ul></div><a class="anker" href="#line81">81</a><a class="anker" href="#line82">82</a><a class="anker" href="#line83">83</a><a class="anker" href="#line84">84</a><a class="anker" href="#line85">85</a><a class="anker" href="#line86">86</a><a class="anker" href="#line87">87</a><a class="anker" href="#line88">88</a><a class="anker" href="#line89">89</a><a class="anker" href="#line90">90</a><a class="anker" href="#line91">91</a><a class="anker" href="#line92">92</a><a class="anker covered" href="#line93">93</a><div class="coverage_details"><span>
|
|
Covered by 46 test(s):
|
|
</span><ul><li>Query\Tests\CoreTest::testEmptyRegexInArray</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testCountAllResults2</li></ul></div><a class="anker" href="#line94">94</a><a class="anker covered" href="#line95">95</a><div class="coverage_details"><span>
|
|
Covered by 1 test(s):
|
|
</span><ul><li>Query\Tests\CoreTest::testEmptyRegexInArray</li></ul></div><a class="anker" href="#line96">96</a><a class="anker" href="#line97">97</a><a class="anker covered" href="#line98">98</a><div class="coverage_details"><span>
|
|
Covered by 45 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testCountAllResults2</li></ul></div><a class="anker" href="#line99">99</a><a class="anker covered" href="#line100">100</a><div class="coverage_details"><span>
|
|
Covered by 45 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testCountAllResults2</li></ul></div><a class="anker" href="#line101">101</a><a class="anker covered" href="#line102">102</a><div class="coverage_details"><span>
|
|
Covered by 45 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testCountAllResults2</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryExplain</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testSelectWhereGet</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrNotGroup</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testAndNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testNotGroupStart</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupCamelCase</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrderByRandom</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testGroupBy</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testOrWhere</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testDeleteWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testCountAllResults2</li></ul></div><a class="anker" href="#line103">103</a><a class="anker" href="#line104">104</a><a class="anker" href="#line105">105</a><a class="anker covered" href="#line106">106</a><div class="coverage_details"><span>
|
|
Covered by 3 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testJoinWithMultipleWhereValues</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testJoinWithMultipleWhereValues</li></ul></div><a class="anker" href="#line107">107</a><a class="anker" href="#line108">108</a><a class="anker" href="#line109">109</a><a class="anker" href="#line110">110</a><a class="anker" href="#line111">111</a><a class="anker" href="#line112">112</a><a class="anker" href="#line113">113</a><a class="anker" href="#line114">114</a><a class="anker" href="#line115">115</a><a class="anker" href="#line116">116</a><a class="anker" href="#line117">117</a><a class="anker" href="#line118">118</a><a class="anker" href="#line119">119</a><a class="anker" href="#line120">120</a><a class="anker" href="#line121">121</a><a class="anker covered" href="#line122">122</a><div class="coverage_details"><span>
|
|
Covered by 8 test(s):
|
|
</span><ul><li>Query\Tests\CoreTest::testNullQuery</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryFunctionAlias</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testBadDriver</li></ul></div><a class="anker" href="#line123">123</a><a class="anker covered" href="#line124">124</a><div class="coverage_details"><span>
|
|
Covered by 1 test(s):
|
|
</span><ul><li>Query\Tests\CoreTest::testNullQuery</li></ul></div><a class="anker" href="#line125">125</a><a class="anker" href="#line126">126</a><a class="anker covered" href="#line127">127</a><div class="coverage_details"><span>
|
|
Covered by 7 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryFunctionAlias</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testBadDriver</li></ul></div><a class="anker" href="#line128">128</a><a class="anker" href="#line129">129</a><a class="anker covered" href="#line130">130</a><div class="coverage_details"><span>
|
|
Covered by 7 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryFunctionAlias</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testBadDriver</li></ul></div><a class="anker" href="#line131">131</a><a class="anker covered" href="#line132">132</a><div class="coverage_details"><span>
|
|
Covered by 4 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testInvalidConnectionName</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testQueryFunctionAlias</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testInvalidConnectionName</li></ul></div><a class="anker" href="#line133">133</a><a class="anker" href="#line134">134</a><a class="anker covered" href="#line135">135</a><div class="coverage_details"><span>
|
|
Covered by 3 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testBadDriver</li></ul></div><a class="anker" href="#line136">136</a><a class="anker" href="#line137">137</a><a class="anker covered" href="#line138">138</a><div class="coverage_details"><span>
|
|
Covered by 3 test(s):
|
|
</span><ul><li>Query\Tests\Drivers\MySQL\MySQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\PgSQL\PgSQLQueryBuilderTest::testBadDriver</li><li>Query\Tests\Drivers\SQLite\SQLiteQueryBuilderTest::testBadDriver</li></ul></div><a class="anker" href="#line139">139</a><a class="anker" href="#line140">140</a><a class="anker" href="#line141">141</a><a class="anker" href="#line142">142</a></td><td class="line"><div id="line1"><pre><span class="token T_OPEN_TAG"><?php </span><span class="token T_DECLARE">declare</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_STRING">strict_types</span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_LNUMBER">1</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line2"><pre><span class="token T_DOC_COMMENT">/**</span></pre></div><div id="line3"><pre><span class="token T_DOC_COMMENT"> * Query</span></pre></div><div id="line4"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line5"><pre><span class="token T_DOC_COMMENT"> * SQL Query Builder / Database Abstraction Layer</span></pre></div><div id="line6"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line7"><pre><span class="token T_DOC_COMMENT"> * PHP version 7</span></pre></div><div id="line8"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line9"><pre><span class="token T_DOC_COMMENT"> * @package Query</span></pre></div><div id="line10"><pre><span class="token T_DOC_COMMENT"> * @author Timothy J. Warren <tim@timshomepage.net></span></pre></div><div id="line11"><pre><span class="token T_DOC_COMMENT"> * @copyright 2012 - 2016 Timothy J. Warren</span></pre></div><div id="line12"><pre><span class="token T_DOC_COMMENT"> * @license http://www.opensource.org/licenses/mit-license.html MIT License</span></pre></div><div id="line13"><pre><span class="token T_DOC_COMMENT"> * @link https://git.timshomepage.net/aviat4ion/Query</span></pre></div><div id="line14"><pre><span class="token T_DOC_COMMENT"> */</span></pre></div><div id="line15"><br/></div><div id="line16"><pre><span class="token T_USE">use</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">Query</span><span class="token T_NS_SEPARATOR">\</span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line17"><pre><span class="token T_WHITESPACE"> </span><span class="token T_STRING">ConnectionManager</span><span class="token T_PHPDOX_COMMA">,</span></pre></div><div id="line18"><pre><span class="token T_WHITESPACE"> </span><span class="token T_STRING">QueryBuilderInterface</span></pre></div><div id="line19"><pre><span class="token T_PHPDOX_CLOSE_CURLY">}</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line20"><br/></div><div id="line21"><pre><span class="token T_DOC_COMMENT">/**</span></pre></div><div id="line22"><pre><span class="token T_DOC_COMMENT"> * Global functions that don't really fit anywhere else</span></pre></div><div id="line23"><pre><span class="token T_DOC_COMMENT"> */</span></pre></div><div id="line24"><br/></div><div id="line25"><pre><span class="token T_DOC_COMMENT">/**</span></pre></div><div id="line26"><pre><span class="token T_DOC_COMMENT"> * Multibyte-safe trim function</span></pre></div><div id="line27"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line28"><pre><span class="token T_DOC_COMMENT"> * @param string $string</span></pre></div><div id="line29"><pre><span class="token T_DOC_COMMENT"> * @return string</span></pre></div><div id="line30"><pre><span class="token T_DOC_COMMENT"> */</span></pre></div><div id="line31"><pre><span class="token T_FUNCTION">function</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">mb_trim</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_STRING">string</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$string</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_COLON">:</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">string</span></pre></div><div id="line32"><pre><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line33"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">preg_replace</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_CONSTANT_ENCAPSED_STRING">'/(^\s+)|(\s+$)/u'</span><span class="token T_PHPDOX_COMMA">,</span><span class="token T_WHITESPACE"> </span><span class="token T_CONSTANT_ENCAPSED_STRING">''</span><span class="token T_PHPDOX_COMMA">,</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$string</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line34"><pre><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line35"><br/></div><div id="line36"><pre><span class="token T_DOC_COMMENT">/**</span></pre></div><div id="line37"><pre><span class="token T_DOC_COMMENT"> * Filter out db rows into one array</span></pre></div><div id="line38"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line39"><pre><span class="token T_DOC_COMMENT"> * @param array $array</span></pre></div><div id="line40"><pre><span class="token T_DOC_COMMENT"> * @param mixed $index</span></pre></div><div id="line41"><pre><span class="token T_DOC_COMMENT"> * @return array</span></pre></div><div id="line42"><pre><span class="token T_DOC_COMMENT"> */</span></pre></div><div id="line43"><pre><span class="token T_FUNCTION">function</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">dbFilter</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_ARRAY">array</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$array</span><span class="token T_PHPDOX_COMMA">,</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$index</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_COLON">:</span><span class="token T_WHITESPACE"> </span><span class="token T_ARRAY">array</span></pre></div><div id="line44"><pre><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line45"><pre><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$newArray</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line46"><br/></div><div id="line47"><pre><span class="token T_WHITESPACE"> </span><span class="token T_FOREACH">foreach</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$array</span><span class="token T_WHITESPACE"> </span><span class="token T_AS">as</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$a</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line48"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line49"><pre><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$newArray</span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$a</span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_VARIABLE">$index</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line50"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line51"><br/></div><div id="line52"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$newArray</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line53"><pre><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line54"><br/></div><div id="line55"><pre><span class="token T_DOC_COMMENT">/**</span></pre></div><div id="line56"><pre><span class="token T_DOC_COMMENT"> * Zip a set of arrays together on common keys</span></pre></div><div id="line57"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line58"><pre><span class="token T_DOC_COMMENT"> * The $zipperInput array is an array of arrays indexed by their place in the output</span></pre></div><div id="line59"><pre><span class="token T_DOC_COMMENT"> * array.</span></pre></div><div id="line60"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line61"><pre><span class="token T_DOC_COMMENT"> * @param array $zipperInput</span></pre></div><div id="line62"><pre><span class="token T_DOC_COMMENT"> * @return array</span></pre></div><div id="line63"><pre><span class="token T_DOC_COMMENT"> */</span></pre></div><div id="line64"><pre><span class="token T_FUNCTION">function</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">arrayZipper</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_ARRAY">array</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$zipperInput</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_COLON">:</span><span class="token T_WHITESPACE"> </span><span class="token T_ARRAY">array</span></pre></div><div id="line65"><pre><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line66"><pre><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$output</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line67"><br/></div><div id="line68"><pre><span class="token T_WHITESPACE"> </span><span class="token T_FOREACH">foreach</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$zipperInput</span><span class="token T_WHITESPACE"> </span><span class="token T_AS">as</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$appendKey</span><span class="token T_WHITESPACE"> </span><span class="token T_DOUBLE_ARROW">=></span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$values</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line69"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line70"><pre><span class="token T_WHITESPACE"> </span><span class="token T_FOREACH">foreach</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$values</span><span class="token T_WHITESPACE"> </span><span class="token T_AS">as</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$index</span><span class="token T_WHITESPACE"> </span><span class="token T_DOUBLE_ARROW">=></span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$value</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line71"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line72"><pre><span class="token T_WHITESPACE"> </span><span class="token T_IF">if</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EXCLAMATION_MARK">!</span><span class="token T_WHITESPACE"> </span><span class="token T_ISSET">isset</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$output</span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_VARIABLE">$index</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line73"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line74"><pre><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$output</span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_VARIABLE">$index</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line75"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line76"><pre><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$output</span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_VARIABLE">$index</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_PHPDOX_OPEN_SQUARE">[</span><span class="token T_VARIABLE">$appendKey</span><span class="token T_PHPDOX_CLOSE_SQUARE">]</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$value</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line77"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line78"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line79"><br/></div><div id="line80"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$output</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line81"><pre><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line82"><br/></div><div id="line83"><pre><span class="token T_DOC_COMMENT">/**</span></pre></div><div id="line84"><pre><span class="token T_DOC_COMMENT"> * Determine whether a value in the passed array matches the pattern</span></pre></div><div id="line85"><pre><span class="token T_DOC_COMMENT"> * passed</span></pre></div><div id="line86"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line87"><pre><span class="token T_DOC_COMMENT"> * @param array $array</span></pre></div><div id="line88"><pre><span class="token T_DOC_COMMENT"> * @param string $pattern</span></pre></div><div id="line89"><pre><span class="token T_DOC_COMMENT"> * @return bool</span></pre></div><div id="line90"><pre><span class="token T_DOC_COMMENT"> */</span></pre></div><div id="line91"><pre><span class="token T_FUNCTION">function</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">regexInArray</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_ARRAY">array</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$array</span><span class="token T_PHPDOX_COMMA">,</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">string</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$pattern</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_COLON">:</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">bool</span></pre></div><div id="line92"><pre><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line93"><pre><span class="token T_WHITESPACE"> </span><span class="token T_IF">if</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_EMPTY">empty</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$array</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line94"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line95"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">FALSE</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line96"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line97"><br/></div><div id="line98"><pre><span class="token T_WHITESPACE"> </span><span class="token T_FOREACH">foreach</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$array</span><span class="token T_WHITESPACE"> </span><span class="token T_AS">as</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$item</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line99"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line100"><pre><span class="token T_WHITESPACE"> </span><span class="token T_IF">if</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_STRING">is_scalar</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$item</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_WHITESPACE"> </span><span class="token T_BOOLEAN_AND">&&</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">preg_match</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$pattern</span><span class="token T_PHPDOX_COMMA">,</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$item</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line101"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line102"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">TRUE</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line103"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line104"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line105"><br/></div><div id="line106"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">FALSE</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line107"><pre><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line108"><br/></div><div id="line109"><pre><span class="token T_DOC_COMMENT">/**</span></pre></div><div id="line110"><pre><span class="token T_DOC_COMMENT"> * Connection function</span></pre></div><div id="line111"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line112"><pre><span class="token T_DOC_COMMENT"> * Send an array or object as connection parameters to create a connection. If</span></pre></div><div id="line113"><pre><span class="token T_DOC_COMMENT"> * the array or object has an 'alias' parameter, passing that string to this</span></pre></div><div id="line114"><pre><span class="token T_DOC_COMMENT"> * function will return that connection. Passing no parameters returns the last</span></pre></div><div id="line115"><pre><span class="token T_DOC_COMMENT"> * connection created.</span></pre></div><div id="line116"><pre><span class="token T_DOC_COMMENT"> *</span></pre></div><div id="line117"><pre><span class="token T_DOC_COMMENT"> * @param string|object|array $params</span></pre></div><div id="line118"><pre><span class="token T_DOC_COMMENT"> * @return QueryBuilderInterface|null</span></pre></div><div id="line119"><pre><span class="token T_DOC_COMMENT"> */</span></pre></div><div id="line120"><pre><span class="token T_FUNCTION">function</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">Query</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$params</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_CONSTANT_ENCAPSED_STRING">''</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_COLON">:</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_QUESTION_MARK">?</span><span class="token T_STRING">QueryBuilderInterface</span></pre></div><div id="line121"><pre><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line122"><pre><span class="token T_WHITESPACE"> </span><span class="token T_IF">if</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$params</span><span class="token T_WHITESPACE"> </span><span class="token T_IS_IDENTICAL">===</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">NULL</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line123"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line124"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">NULL</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line125"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line126"><br/></div><div id="line127"><pre><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$manager</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_STRING">ConnectionManager</span><span class="token T_DOUBLE_COLON">::</span><span class="token T_STRING">getInstance</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line128"><br/></div><div id="line129"><pre><span class="token T_WHITESPACE"> </span><span class="token T_COMMENT">// If you are getting a previously created connection</span></pre></div><div id="line130"><pre><span class="token T_WHITESPACE"> </span><span class="token T_IF">if</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_STRING">is_scalar</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$params</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span></pre></div><div id="line131"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_OPEN_CURLY">{</span></pre></div><div id="line132"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$manager</span><span class="token T_OBJECT_OPERATOR">-></span><span class="token T_STRING">getConnection</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$params</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line133"><pre><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line134"><br/></div><div id="line135"><pre><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$paramsObject</span><span class="token T_WHITESPACE"> </span><span class="token T_PHPDOX_EQUAL">=</span><span class="token T_WHITESPACE"> </span><span class="token T_OBJECT_CAST">(object)</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$params</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line136"><br/></div><div id="line137"><pre><span class="token T_WHITESPACE"> </span><span class="token T_COMMENT">// Otherwise, return a new connection</span></pre></div><div id="line138"><pre><span class="token T_WHITESPACE"> </span><span class="token T_RETURN">return</span><span class="token T_WHITESPACE"> </span><span class="token T_VARIABLE">$manager</span><span class="token T_OBJECT_OPERATOR">-></span><span class="token T_STRING">connect</span><span class="token T_PHPDOX_OPEN_BRACKET">(</span><span class="token T_VARIABLE">$paramsObject</span><span class="token T_PHPDOX_CLOSE_BRACKET">)</span><span class="token T_PHPDOX_SEMICOLON">;</span></pre></div><div id="line139"><pre><span class="token T_PHPDOX_CLOSE_CURLY">}</span></pre></div><div id="line140"><br/></div><div id="line141"><pre><span class="token T_COMMENT">// End of common.php</span></pre></div><div id="line142"><br/></div></td></tr></table></section></div><footer><span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span></footer></body></html>
|