449 lines
30 KiB
HTML
449 lines
30 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
|||
|
<!DOCTYPE html SYSTEM "about:legacy-compat">
|
|||
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
|||
|
<head>
|
|||
|
<title>phpDox - Query\QueryBuilder</title>
|
|||
|
<link rel="stylesheet" type="text/css" href="../css/style.css" media="screen"/>
|
|||
|
<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="../classes.html">Classes</a>
|
|||
|
</li>
|
|||
|
<li class="separator">
|
|||
|
<a href="../classes.html#Query">Query</a>
|
|||
|
</li>
|
|||
|
<li class="separator">QueryBuilder</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<nav class="box">
|
|||
|
<ul>
|
|||
|
<li>
|
|||
|
<a href="#introduction">Introduction</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="#synopsis">Synopsis</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="#hierarchy">Hierarchy</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="#coverage">Coverage</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="#members">Members</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="#methods">Methods</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="#history">History</a>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<a href="../source/QueryBuilder.php.html#line24">Source</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</nav>
|
|||
|
<section>
|
|||
|
<h1 id="introduction"><small>Query\</small>QueryBuilder</h1>
|
|||
|
<h4>Convenience class for creating sql queries</h4>
|
|||
|
<p/>
|
|||
|
<ul/>
|
|||
|
<h2 id="synopsis">Synopsis</h2>
|
|||
|
<div class="synopsis">class QueryBuilder
|
|||
|
implements
|
|||
|
<a title="Query\QueryBuilderInterface" href="../interfaces/Query_QueryBuilderInterface.html">QueryBuilderInterface</a>
|
|||
|
{<br/><ul class="none"><li>// members</li><li>public string <a href="#members">$connName</a> =
|
|||
|
'';
|
|||
|
</li><li>public array <a href="#members">$queries</a> =
|
|||
|
;
|
|||
|
</li><li>public <span title="Query\Drivers\DriverInterface">DriverInterface</span> <a href="#members">$driver</a>;
|
|||
|
</li></ul><ul class="none"><li>// methods</li><li>public void <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/__construct.html">__construct</a>()
|
|||
|
</li><li>public void <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/__destruct.html">__destruct</a>()
|
|||
|
</li><li>public mixed <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/__call.html">__call</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/select.html">select</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectMax.html">selectMax</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectMin.html">selectMin</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectAvg.html">selectAvg</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectSum.html">selectSum</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/distinct.html">distinct</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/explain.html">explain</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/from.html">from</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/like.html">like</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orLike.html">orLike</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/notLike.html">notLike</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orNotLike.html">orNotLike</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/having.html">having</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orHaving.html">orHaving</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/where.html">where</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orWhere.html">orWhere</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/whereIn.html">whereIn</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orWhereIn.html">orWhereIn</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/whereNotIn.html">whereNotIn</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orWhereNotIn.html">orWhereNotIn</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/set.html">set</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/join.html">join</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/groupBy.html">groupBy</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orderBy.html">orderBy</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/limit.html">limit</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/groupStart.html">groupStart</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/notGroupStart.html">notGroupStart</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orGroupStart.html">orGroupStart</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orNotGroupStart.html">orNotGroupStart</a>()
|
|||
|
</li><li>public <span title="QueryBuilderInterface">QueryBuilderInterface</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/groupEnd.html">groupEnd</a>()
|
|||
|
</li><li>public ?<span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/get.html">get</a>()
|
|||
|
</li><li>public ?<span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getWhere.html">getWhere</a>()
|
|||
|
</li><li>public int <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/countAll.html">countAll</a>()
|
|||
|
</li><li>public int <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/countAllResults.html">countAllResults</a>()
|
|||
|
</li><li>public ?<span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/insert.html">insert</a>()
|
|||
|
</li><li>public ?<span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/insertBatch.html">insertBatch</a>()
|
|||
|
</li><li>public <span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/update.html">update</a>()
|
|||
|
</li><li>public ?<span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/updateBatch.html">updateBatch</a>()
|
|||
|
</li><li>public ?<span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/replace.html">replace</a>()
|
|||
|
</li><li>public ?<span title="PDOStatement">PDOStatement</span> <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/delete.html">delete</a>()
|
|||
|
</li><li>public string <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledSelect.html">getCompiledSelect</a>()
|
|||
|
</li><li>public string <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledInsert.html">getCompiledInsert</a>()
|
|||
|
</li><li>public string <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledUpdate.html">getCompiledUpdate</a>()
|
|||
|
</li><li>public string <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledDelete.html">getCompiledDelete</a>()
|
|||
|
</li><li>public void <a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/resetQuery.html">resetQuery</a>()
|
|||
|
</li></ul>
|
|||
|
|
|||
|
}<br/></div>
|
|||
|
<h2 id="hierarchy">Hierarchy</h2>
|
|||
|
<div class="styled">
|
|||
|
<h4>Implements</h4>
|
|||
|
<ul>
|
|||
|
<li>
|
|||
|
<a title="Query\QueryBuilderInterface" href="../interfaces/Query_QueryBuilderInterface.html">Query\QueryBuilderInterface</a>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<h2 id="coverage">Coverage</h2>
|
|||
|
<table class="styled">
|
|||
|
<tr>
|
|||
|
<td>Methods</td>
|
|||
|
<td class="percent">0%</td>
|
|||
|
<td class="nummeric">0 / 48</td>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>Lines</td>
|
|||
|
<td class="percent">0%</td>
|
|||
|
<td class="nummeric"> / </td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<h2 id="members">Members</h2>
|
|||
|
<div class="styled members">
|
|||
|
<h4>public</h4>
|
|||
|
<ul class="members">
|
|||
|
<li id="connName"><strong>$connName</strong>
|
|||
|
—
|
|||
|
string<br/><span class="indent">Convenience property for connection management</span></li>
|
|||
|
<li id="driver"><strong>$driver</strong>
|
|||
|
—
|
|||
|
<a title="Query\Drivers\DriverInterface" href="../classes/Query_Drivers_DriverInterface.html">Query\Drivers\DriverInterface</a><br/><span class="indent">The current database driver</span></li>
|
|||
|
<li id="queries"><strong>$queries</strong>
|
|||
|
—
|
|||
|
array<br/><span class="indent">List of queries executed</span></li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<h2 id="methods">Methods</h2>
|
|||
|
<div class="styled">
|
|||
|
<h4>public</h4>
|
|||
|
<ul>
|
|||
|
<li id="__construct"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/__construct.html">__construct()</a>
|
|||
|
— Constructor</li>
|
|||
|
<li id="__destruct"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/__destruct.html">__destruct()</a>
|
|||
|
— Destructor</li>
|
|||
|
<li id="__call"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/__call.html">__call()</a>
|
|||
|
— Calls a function further down the inheritance chain</li>
|
|||
|
<li id="countAll"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/countAll.html">countAll()</a>
|
|||
|
— Retrieve the number of rows in the selected table</li>
|
|||
|
<li id="countAllResults"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/countAllResults.html">countAllResults()</a>
|
|||
|
— Retrieve the number of results for the generated query - used in place of the get() method</li>
|
|||
|
<li id="delete"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/delete.html">delete()</a>
|
|||
|
— Deletes data from a table</li>
|
|||
|
<li id="distinct"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/distinct.html">distinct()</a>
|
|||
|
— Adds the 'distinct' keyword to a query</li>
|
|||
|
<li id="explain"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/explain.html">explain()</a>
|
|||
|
— Tell the database to give you the query plan instead of result set</li>
|
|||
|
<li id="from"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/from.html">from()</a>
|
|||
|
— Specify the database table to select from</li>
|
|||
|
<li id="get"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/get.html">get()</a>
|
|||
|
— Select and retrieve all records from the current table, and/or execute current compiled query</li>
|
|||
|
<li id="getCompiledDelete"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledDelete.html">getCompiledDelete()</a>
|
|||
|
— Returns the generated 'delete' sql query</li>
|
|||
|
<li id="getCompiledInsert"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledInsert.html">getCompiledInsert()</a>
|
|||
|
— Returns the generated 'insert' sql query</li>
|
|||
|
<li id="getCompiledSelect"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledSelect.html">getCompiledSelect()</a>
|
|||
|
— Returns the generated 'select' sql query</li>
|
|||
|
<li id="getCompiledUpdate"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getCompiledUpdate.html">getCompiledUpdate()</a>
|
|||
|
— Returns the generated 'update' sql query</li>
|
|||
|
<li id="getWhere"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/getWhere.html">getWhere()</a>
|
|||
|
— Convenience method for get() with a where clause</li>
|
|||
|
<li id="groupBy"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/groupBy.html">groupBy()</a>
|
|||
|
— Group the results by the selected field(s)</li>
|
|||
|
<li id="groupEnd"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/groupEnd.html">groupEnd()</a>
|
|||
|
— Ends a query group</li>
|
|||
|
<li id="groupStart"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/groupStart.html">groupStart()</a>
|
|||
|
— Adds a paren to the current query for query grouping</li>
|
|||
|
<li id="having"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/having.html">having()</a>
|
|||
|
— Generates a 'Having' clause</li>
|
|||
|
<li id="insert"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/insert.html">insert()</a>
|
|||
|
— Creates an insert clause, and executes it</li>
|
|||
|
<li id="insertBatch"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/insertBatch.html">insertBatch()</a>
|
|||
|
— Creates and executes a batch insertion query</li>
|
|||
|
<li id="join"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/join.html">join()</a>
|
|||
|
— Creates a join phrase in a compiled query</li>
|
|||
|
<li id="like"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/like.html">like()</a>
|
|||
|
— Creates a Like clause in the sql statement</li>
|
|||
|
<li id="limit"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/limit.html">limit()</a>
|
|||
|
— Set a limit on the current sql statement</li>
|
|||
|
<li id="notGroupStart"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/notGroupStart.html">notGroupStart()</a>
|
|||
|
— Adds a paren to the current query for query grouping, prefixed with 'NOT'</li>
|
|||
|
<li id="notLike"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/notLike.html">notLike()</a>
|
|||
|
— Generates a NOT LIKE clause</li>
|
|||
|
<li id="orGroupStart"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orGroupStart.html">orGroupStart()</a>
|
|||
|
— Adds a paren to the current query for query grouping, prefixed with 'OR'</li>
|
|||
|
<li id="orHaving"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orHaving.html">orHaving()</a>
|
|||
|
— Generates a 'Having' clause prefixed with 'OR'</li>
|
|||
|
<li id="orLike"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orLike.html">orLike()</a>
|
|||
|
— Generates an OR Like clause</li>
|
|||
|
<li id="orNotGroupStart"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orNotGroupStart.html">orNotGroupStart()</a>
|
|||
|
— Adds a paren to the current query for query grouping, prefixed with 'OR NOT'</li>
|
|||
|
<li id="orNotLike"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orNotLike.html">orNotLike()</a>
|
|||
|
— Generates a OR NOT LIKE clause</li>
|
|||
|
<li id="orWhere"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orWhere.html">orWhere()</a>
|
|||
|
— Where clause prefixed with "OR"</li>
|
|||
|
<li id="orWhereIn"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orWhereIn.html">orWhereIn()</a>
|
|||
|
— Where in statement prefixed with "or"</li>
|
|||
|
<li id="orWhereNotIn"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orWhereNotIn.html">orWhereNotIn()</a>
|
|||
|
— OR WHERE NOT IN (FOO) clause</li>
|
|||
|
<li id="orderBy"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/orderBy.html">orderBy()</a>
|
|||
|
— Order the results by the selected field(s)</li>
|
|||
|
<li id="replace"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/replace.html">replace()</a>
|
|||
|
— Insertion with automatic overwrite, rather than attempted duplication</li>
|
|||
|
<li id="resetQuery"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/resetQuery.html">resetQuery()</a>
|
|||
|
— Clear out the class variables, so the next query can be run</li>
|
|||
|
<li id="select"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/select.html">select()</a>
|
|||
|
— Specifies rows to select in a query</li>
|
|||
|
<li id="selectAvg"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectAvg.html">selectAvg()</a>
|
|||
|
— Selects the average value of a field from a query</li>
|
|||
|
<li id="selectMax"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectMax.html">selectMax()</a>
|
|||
|
— Selects the maximum value of a field from a query</li>
|
|||
|
<li id="selectMin"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectMin.html">selectMin()</a>
|
|||
|
— Selects the minimum value of a field from a query</li>
|
|||
|
<li id="selectSum"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/selectSum.html">selectSum()</a>
|
|||
|
— Selects the sum of a field from a query</li>
|
|||
|
<li id="set"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/set.html">set()</a>
|
|||
|
— Sets values for inserts / updates / deletes</li>
|
|||
|
<li id="update"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/update.html">update()</a>
|
|||
|
— Creates an update clause, and executes it</li>
|
|||
|
<li id="updateBatch"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/updateBatch.html">updateBatch()</a>
|
|||
|
— Creates a batch update, and executes it.</li>
|
|||
|
<li id="where"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/where.html">where()</a>
|
|||
|
— Specify condition(s) in the where clause of a query Note: this function works with key / value, or a passed array with key / value pairs</li>
|
|||
|
<li id="whereIn"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/whereIn.html">whereIn()</a>
|
|||
|
— Where clause with 'IN' statement</li>
|
|||
|
<li id="whereNotIn"><a title="Query\QueryBuilder" href="../classes/Query_QueryBuilder/whereNotIn.html">whereNotIn()</a>
|
|||
|
— WHERE NOT IN (FOO) clause</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<h2 id="history">History</h2>
|
|||
|
<ul class="styled history">
|
|||
|
<li>
|
|||
|
<h3>2018-01-24T20:23:26+00:00 (commit #<span title="73e4c35163f3579f2dbaf2971ca707928f58f541">73e4c35</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Remove some old code coupling and boilerplate</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-24T20:03:41+00:00 (commit #<span title="f967aaf96ea1c4cc43e8bae85c465beb84424a1e">f967aaf</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Remove method separators, update documentation building configuration</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-24T18:25:42+00:00 (commit #<span title="16e50c3277e8d7284bccf4c9883af82d9fd83d16">16e50c3</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Fix some missed type hints</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-24T18:14:03+00:00 (commit #<span title="1d583bcc23524ad8840e4be580e549e8d6e549f4">1d583bc</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Add more type hinting</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-23T16:22:23+00:00 (commit #<span title="e4ca039b3d7b8ed82f662a183f02261df0fba416">e4ca039</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Use State class to simplify management of query builder state</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-22T21:04:29+00:00 (commit #<span title="8401cceb0daec6282b2c6cd20ef965592a322aa6">8401cce</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Remove PDOInterface to prevent conflicts in method parameters with native PDO object</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-22T20:43:56+00:00 (commit #<span title="91eb8123d151dde674aa5aec4efbd1dc09e0b490">91eb812</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Various refactoring</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-19T21:48:52+00:00 (commit #<span title="4df07b6c727a41ec8cca150f0697f504b69a1111">4df07b6</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Update test layout to better match source layout</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-19T20:47:34+00:00 (commit #<span title="369ca6eb0439091697ee9cbc34c83e9a4bdaace3">369ca6e</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Flatten source structure a bit</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2018-01-19T18:43:19+00:00 (commit #<span title="c735c27559da47b4d53867da59cd706e8048f4a0">c735c27</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Update file headers</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2016-10-14T01:55:23+00:00 (commit #<span title="b8d4768b1bfe0f38d6b65f0d4acd982793c0e9ee">b8d4768</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">camelCase methods and properties</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2016-10-13T02:12:25+00:00 (commit #<span title="6740aaef79540842110b2f162d17a9373d2c30da">6740aae</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">PHP7 or bust!</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2016-10-13T00:32:23+00:00 (commit #<span title="3eb4d889f9a18b6e3c157dc5a4bbf8bac955ba97">3eb4d88</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Add Or Not Like method</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2016-09-07T21:39:19+00:00 (commit #<span title="ca601623ba0b2a5879c01597efbf55bbde3a34fa">ca60162</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Miscellaneous cleanup and refactoring</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2016-09-07T18:22:52+00:00 (commit #<span title="2db7ad182db1419adb766249c9855d548adefd70">2db7ad1</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">More style fixes</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<li>
|
|||
|
<h3>2016-09-07T17:17:17+00:00 (commit #<span title="24f3b1d7011b6087a549e190582386c2669da8ce">24f3b1d</span>)</h3>
|
|||
|
<div>
|
|||
|
<p>
|
|||
|
Author: Timothy J Warren (tim@timshomepage.net) /
|
|||
|
Commiter: Timothy J Warren (tim@timshomepage.net)
|
|||
|
</p>
|
|||
|
<pre class="wrapped">Update header comments</pre>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
</ul>
|
|||
|
</section>
|
|||
|
</div>
|
|||
|
<footer>
|
|||
|
<span>Generated using phpDox 0.11.0-dev - Copyright (C) 2010 - 2018 by Arne Blankerts and Contributors</span>
|
|||
|
</footer>
|
|||
|
</body>
|
|||
|
</html>
|