Query/docs/classes/Query.Drivers.Pgsql.Driver.html

1931 lines
107 KiB
HTML
Raw Normal View History

2017-02-28 16:37:16 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
<meta charset="utf-8"/>
<title>Query</title>
<meta name="author" content=""/>
<meta name="description" content=""/>
<link href="../css/bootstrap-combined.no-icons.min.css" rel="stylesheet">
<link href="../css/font-awesome.min.css" rel="stylesheet">
<link href="../css/prism.css" rel="stylesheet" media="all"/>
<link href="../css/template.css" rel="stylesheet" media="all"/>
<!--[if lt IE 9]>
<script src="../js/html5.js"></script>
<![endif]-->
<script src="../js/jquery-1.11.0.min.js"></script>
<script src="../js/ui/1.10.4/jquery-ui.min.js"></script>
<script src="../js/bootstrap.min.js"></script>
<script src="../js/jquery.smooth-scroll.js"></script>
<script src="../js/prism.min.js"></script>
<!-- TODO: Add http://jscrollpane.kelvinluck.com/ to style the scrollbars for browsers not using webkit-->
<script type="text/javascript">
function loadExternalCodeSnippets() {
Array.prototype.slice.call(document.querySelectorAll('pre[data-src]')).forEach(function (pre) {
var src = pre.getAttribute('data-src');
var extension = (src.match(/\.(\w+)$/) || [, ''])[1];
var language = 'php';
var code = document.createElement('code');
code.className = 'language-' + language;
pre.textContent = '';
code.textContent = 'Loading…';
pre.appendChild(code);
var xhr = new XMLHttpRequest();
xhr.open('GET', src, true);
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
if (xhr.status < 400 && xhr.responseText) {
code.textContent = xhr.responseText;
Prism.highlightElement(code);
}
else if (xhr.status >= 400) {
code.textContent = '✖ Error ' + xhr.status + ' while fetching file: ' + xhr.statusText;
}
else {
code.textContent = '✖ Error: File does not exist or is empty';
}
}
};
xhr.send(null);
});
}
$(document).ready(function(){
loadExternalCodeSnippets();
});
$('#source-view').on('shown', function () {
loadExternalCodeSnippets();
})
</script>
<link rel="shortcut icon" href="../images/favicon.ico"/>
<link rel="apple-touch-icon" href="../images/apple-touch-icon.png"/>
<link rel="apple-touch-icon" sizes="72x72" href="../images/apple-touch-icon-72x72.png"/>
<link rel="apple-touch-icon" sizes="114x114" href="../images/apple-touch-icon-114x114.png"/>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-ellipsis-vertical"></i>
</a>
<a class="brand" href="../index.html">Query</a>
<div class="nav-collapse">
<ul class="nav pull-right">
<li class="dropdown">
<a href="../index.html" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li><a href="../namespaces/Query.html">\Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="../graphs/class.html">
<i class="icon-list-alt"></i>&#160;Class hierarchy diagram
</a>
</li>
</ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>
<a href="../reports/errors.html">
<i class="icon-list-alt"></i>&#160;Errors <span class="label label-info pull-right">31</span>
</a>
</li>
<li>
<a href="../reports/markers.html">
<i class="icon-list-alt"></i>&#160;Markers <span class="label label-info pull-right">0</span>
</a>
</li>
<li>
<a href="../reports/deprecated.html">
<i class="icon-list-alt"></i>&#160;Deprecated <span class="label label-info pull-right">0</span>
</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
<!--<div class="go_to_top">-->
<!--<a href="#___" style="color: inherit">Back to top&#160;&#160;<i class="icon-upload icon-white"></i></a>-->
<!--</div>-->
</div>
<div id="___" class="container-fluid">
<section class="row-fluid">
<div class="span2 sidebar">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle " data-toggle="collapse" data-target="#namespace-1075640328"></a>
<a href="../namespaces/default.html" style="margin-left: 30px; padding-left: 0">\</a>
</div>
<div id="namespace-1075640328" class="accordion-body collapse in">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-973173002"></a>
<a href="../namespaces/Query.html" style="margin-left: 30px; padding-left: 0">Query</a>
</div>
<div id="namespace-973173002" class="accordion-body collapse ">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-575771258"></a>
<a href="../namespaces/Query.Drivers.html" style="margin-left: 30px; padding-left: 0">Drivers</a>
</div>
<div id="namespace-575771258" class="accordion-body collapse ">
<div class="accordion-inner">
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-2121177975"></a>
<a href="../namespaces/Query.Drivers.Firebird.html" style="margin-left: 30px; padding-left: 0">Firebird</a>
</div>
<div id="namespace-2121177975" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/Query.Drivers.Firebird.Driver.html">Driver</a></li>
<li class="class"><a href="../classes/Query.Drivers.Firebird.Result.html">Result</a></li>
<li class="class"><a href="../classes/Query.Drivers.Firebird.SQL.html">SQL</a></li>
<li class="class"><a href="../classes/Query.Drivers.Firebird.Util.html">Util</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-540740316"></a>
<a href="../namespaces/Query.Drivers.Mysql.html" style="margin-left: 30px; padding-left: 0">Mysql</a>
</div>
<div id="namespace-540740316" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/Query.Drivers.Mysql.Driver.html">Driver</a></li>
<li class="class"><a href="../classes/Query.Drivers.Mysql.SQL.html">SQL</a></li>
<li class="class"><a href="../classes/Query.Drivers.Mysql.Util.html">Util</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-36613182"></a>
<a href="../namespaces/Query.Drivers.Pgsql.html" style="margin-left: 30px; padding-left: 0">Pgsql</a>
</div>
<div id="namespace-36613182" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/Query.Drivers.Pgsql.Driver.html">Driver</a></li>
<li class="class"><a href="../classes/Query.Drivers.Pgsql.SQL.html">SQL</a></li>
<li class="class"><a href="../classes/Query.Drivers.Pgsql.Util.html">Util</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="accordion" style="margin-bottom: 0">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-target="#namespace-959560702"></a>
<a href="../namespaces/Query.Drivers.Sqlite.html" style="margin-left: 30px; padding-left: 0">Sqlite</a>
</div>
<div id="namespace-959560702" class="accordion-body collapse ">
<div class="accordion-inner">
<ul>
<li class="class"><a href="../classes/Query.Drivers.Sqlite.Driver.html">Driver</a></li>
<li class="class"><a href="../classes/Query.Drivers.Sqlite.SQL.html">SQL</a></li>
<li class="class"><a href="../classes/Query.Drivers.Sqlite.Util.html">Util</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
<li class="interface"><a href="../classes/Query.Drivers.DriverInterface.html">DriverInterface</a></li>
<li class="interface"><a href="../classes/Query.Drivers.PDOInterface.html">PDOInterface</a></li>
<li class="interface"><a href="../classes/Query.Drivers.PDOStatementInterface.html">PDOStatementInterface</a></li>
<li class="interface"><a href="../classes/Query.Drivers.SQLInterface.html">SQLInterface</a></li>
<li class="class"><a href="../classes/Query.Drivers.AbstractDriver.html">AbstractDriver</a></li>
<li class="class"><a href="../classes/Query.Drivers.AbstractSQL.html">AbstractSQL</a></li>
<li class="class"><a href="../classes/Query.Drivers.AbstractUtil.html">AbstractUtil</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
<li class="interface"><a href="../classes/Query.QueryBuilderInterface.html">QueryBuilderInterface</a></li>
<li class="class"><a href="../classes/Query.AbstractQueryBuilder.html">AbstractQueryBuilder</a></li>
<li class="class"><a href="../classes/Query.BadDBDriverException.html">BadDBDriverException</a></li>
<li class="class"><a href="../classes/Query.ConnectionManager.html">ConnectionManager</a></li>
<li class="class"><a href="../classes/Query.DriverFactory.html">DriverFactory</a></li>
<li class="class"><a href="../classes/Query.QueryBuilder.html">QueryBuilder</a></li>
<li class="class"><a href="../classes/Query.QueryParser.html">QueryParser</a></li>
<li class="class"><a href="../classes/Query.State.html">State</a></li>
</ul>
</div>
</div>
</div>
</div>
<ul>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="row-fluid">
<div class="span10 offset2">
<div class="row-fluid">
<div class="span8 content class">
<nav>
<a href="../namespaces/Query.Drivers.Pgsql.html">\Query\Drivers\Pgsql</a> <i class="icon-level-up"></i>
</nav>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal"><i class="icon-code"></i></a>
<h1><small>\Query\Drivers\Pgsql</small>Driver</h1>
<p><em>PostgreSQL specific class</em></p>
<p>Extends PDO to simplify cross-database issues</p>
<section id="summary">
<h2>Summary</h2>
<section class="row-fluid heading">
<section class="span4">
<a href="#methods">Methods</a>
</section>
<section class="span4">
<a href="#properties">Properties</a>
</section>
<section class="span4">
<a href="#constants">Constants</a>
</section>
</section>
<section class="row-fluid public">
<section class="span4">
<a href="../classes/Query.Drivers.Pgsql.Driver.html#method___construct" class="">__construct()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method___call" class="">__call()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getLastQuery" class="">getLastQuery()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_setLastQuery" class="">setLastQuery()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getSql" class="">getSql()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getUtil" class="">getUtil()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_setTablePrefix" class="">setTablePrefix()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_prepareQuery" class="">prepareQuery()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_prepareExecute" class="">prepareExecute()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_affectedRows" class="">affectedRows()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_prefixTable" class="">prefixTable()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_quoteTable" class="">quoteTable()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_quoteIdent" class="">quoteIdent()</a><br />
<a href="../classes/Query.Drivers.Pgsql.Driver.html#method_getSchemas" class="">getSchemas()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getTables" class="">getTables()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getDbs" class="">getDbs()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getViews" class="">getViews()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getSequences" class="">getSequences()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getFunctions" class="">getFunctions()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getProcedures" class="">getProcedures()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getTriggers" class="">getTriggers()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getSystemTables" class="">getSystemTables()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getColumns" class="">getColumns()</a><br />
<a href="../classes/Query.Drivers.Pgsql.Driver.html#method_getFks" class="">getFks()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getIndexes" class="">getIndexes()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_getTypes" class="">getTypes()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_driverQuery" class="">driverQuery()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_numRows" class="">numRows()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_insertBatch" class="">insertBatch()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_updateBatch" class="">updateBatch()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method__quote" class="">_quote()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method_truncate" class="">truncate()</a><br />
</section>
<section class="span4">
<em>No public properties found</em>
</section>
<section class="span4">
<em>No constants found</em>
</section>
</section>
<section class="row-fluid protected">
<section class="span4">
<a href="../classes/Query.Drivers.AbstractDriver.html#method__loadSubClasses" class="">_loadSubClasses()</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#method__prefix" class="">_prefix()</a><br />
</section>
<section class="span4">
<a href="../classes/Query.Drivers.AbstractDriver.html#property_statement" class="">$statement</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#property_escapeCharOpen" class="">$escapeCharOpen</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#property_escapeCharClose" class="">$escapeCharClose</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#property_sql" class="">$sql</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#property_util" class="">$util</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#property_lastQuery" class="">$lastQuery</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#property_tablePrefix" class="">$tablePrefix</a><br />
<a href="../classes/Query.Drivers.AbstractDriver.html#property_hasTruncate" class="">$hasTruncate</a><br />
</section>
<section class="span4">
<em>N/A</em>
</section>
</section>
<section class="row-fluid private">
<section class="span4">
<em>No private methods found</em>
</section>
<section class="span4">
<em>No private properties found</em>
</section>
<section class="span4">
<em>N/A</em>
</section>
</section>
</section>
</div>
<aside class="span4 detailsbar">
<dl>
<dt>File</dt>
<dd><a href="../files/Query.Drivers.Pgsql.Driver.html"><div class="path-wrapper">Query/Drivers/Pgsql/Driver.php</div></a></dd>
<dt>Package</dt>
<dd><div class="namespace-wrapper">Default</div></dd>
<dt>Class hierarchy</dt>
<dd class="hierarchy">
<div class="namespace-wrapper">\PDO</div>
<div class="namespace-wrapper"><a href="../classes/Query.Drivers.AbstractDriver.html">\Query\Drivers\AbstractDriver</a></div>
<div class="namespace-wrapper">\Query\Drivers\Pgsql\Driver</div>
</dd>
<dt>Implements</dt>
<dd><a href="../classes/Query.Drivers.DriverInterface.html"><div class="namespace-wrapper">\Query\Drivers\DriverInterface</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<a id="properties" name="properties"></a>
<div class="row-fluid">
<div class="span8 content class">
<h2>Properties</h2>
</div>
<aside class="span4 detailsbar"></aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_statement" name="property_statement" class="anchor"></a>
<article class="property">
<h3 class="protected ">$statement</h3>
<pre class="signature">$statement : \PDOStatement</pre>
<p><em>Reference to the last executed query</em></p>
<h4>Type</h4>
\PDOStatement
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_escapeCharOpen" name="property_escapeCharOpen" class="anchor"></a>
<article class="property">
<h3 class="protected ">$escapeCharOpen</h3>
<pre class="signature">$escapeCharOpen : string</pre>
<p><em>Start character to escape identifiers</em></p>
<h4>Type</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_escapeCharClose" name="property_escapeCharClose" class="anchor"></a>
<article class="property">
<h3 class="protected ">$escapeCharClose</h3>
<pre class="signature">$escapeCharClose : string</pre>
<p><em>End character to escape identifiers</em></p>
<h4>Type</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_sql" name="property_sql" class="anchor"></a>
<article class="property">
<h3 class="protected ">$sql</h3>
<pre class="signature">$sql : \Query\Drivers\SQLInterface</pre>
<p><em>Reference to sql class</em></p>
<h4>Type</h4>
<a href="../classes/Query.Drivers.SQLInterface.html">\Query\Drivers\SQLInterface</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_util" name="property_util" class="anchor"></a>
<article class="property">
<h3 class="protected ">$util</h3>
<pre class="signature">$util : \Query\Drivers\AbstractUtil</pre>
<p><em>Reference to util class</em></p>
<h4>Type</h4>
<a href="../classes/Query.Drivers.AbstractUtil.html">\Query\Drivers\AbstractUtil</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_lastQuery" name="property_lastQuery" class="anchor"></a>
<article class="property">
<h3 class="protected ">$lastQuery</h3>
<pre class="signature">$lastQuery : string</pre>
<p><em>Last query executed</em></p>
<h4>Type</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_tablePrefix" name="property_tablePrefix" class="anchor"></a>
<article class="property">
<h3 class="protected ">$tablePrefix</h3>
<pre class="signature">$tablePrefix : string</pre>
<p><em>Prefix to apply to table names</em></p>
<h4>Type</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="property_hasTruncate" name="property_hasTruncate" class="anchor"></a>
<article class="property">
<h3 class="protected ">$hasTruncate</h3>
<pre class="signature">$hasTruncate : boolean</pre>
<p><em>Whether the driver supports &#039;TRUNCATE&#039;</em></p>
<h4>Type</h4>
boolean
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<a id="methods" name="methods"></a>
<div class="row-fluid">
<div class="span8 content class"><h2>Methods</h2></div>
<aside class="span4 detailsbar"></aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method___construct" name="method___construct" class="anchor"></a>
<article class="method">
<h3 class="public ">__construct()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">__construct(string <span class="argument">$dsn</span>, string <span class="argument">$username = NULL</span>, string <span class="argument">$password = NULL</span>, array <span class="argument">$options = array()</span>) </pre>
<p><em>Connect to a PosgreSQL database</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$dsn </td>
<td></td>
</tr>
<tr>
<td>string</td>
<td>$username </td>
<td></td>
</tr>
<tr>
<td>string</td>
<td>$password </td>
<td></td>
</tr>
<tr>
<td>array</td>
<td>$options </td>
<td></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr>
<th>
codeCoverageIgnore
</th>
<td>
</td>
</tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method___call" name="method___call" class="anchor"></a>
<article class="method">
<h3 class="public ">__call()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">__call(string <span class="argument">$name</span>, array <span class="argument">$args = array()</span>) : mixed</pre>
<p><em>Allow invoke to work on table object</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$name </td>
<td></td>
</tr>
<tr>
<td>array</td>
<td>$args </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
mixed
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr>
<th>
codeCoverageIgnore
</th>
<td>
</td>
</tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getLastQuery" name="method_getLastQuery" class="anchor"></a>
<article class="method">
<h3 class="public ">getLastQuery()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getLastQuery() : string</pre>
<p><em>Get the last sql query executed</em></p>
<h4>Returns</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_setLastQuery" name="method_setLastQuery" class="anchor"></a>
<article class="method">
<h3 class="public ">setLastQuery()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">setLastQuery(string <span class="argument">$queryString</span>) : void</pre>
<p><em>Set the last query sql</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$queryString </td>
<td></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getSql" name="method_getSql" class="anchor"></a>
<article class="method">
<h3 class="public ">getSql()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getSql() : \Query\Drivers\SQLInterface</pre>
<p><em>Get the SQL class for the current driver</em></p>
<h4>Returns</h4>
<a href="../classes/Query.Drivers.SQLInterface.html">\Query\Drivers\SQLInterface</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getUtil" name="method_getUtil" class="anchor"></a>
<article class="method">
<h3 class="public ">getUtil()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getUtil() : \Query\Drivers\AbstractUtil</pre>
<p><em>Get the Util class for the current driver</em></p>
<h4>Returns</h4>
<a href="../classes/Query.Drivers.AbstractUtil.html">\Query\Drivers\AbstractUtil</a>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_setTablePrefix" name="method_setTablePrefix" class="anchor"></a>
<article class="method">
<h3 class="public ">setTablePrefix()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">setTablePrefix(string <span class="argument">$prefix</span>) : void</pre>
<p><em>Set the common table name prefix</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$prefix </td>
<td></td>
</tr>
</table>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_prepareQuery" name="method_prepareQuery" class="anchor"></a>
<article class="method">
<h3 class="public ">prepareQuery()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">prepareQuery(string <span class="argument">$sql</span>, array <span class="argument">$data</span>) : \PDOStatement</pre>
<p><em>Simplifies prepared statements for database queries</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$sql </td>
<td></td>
</tr>
<tr>
<td>array</td>
<td>$data </td>
<td></td>
</tr>
</table>
<h4>Throws</h4>
<dl>
<dt>\InvalidArgumentException</dt>
<dd></dd>
</dl>
<h4>Returns</h4>
\PDOStatement
&mdash; <p>| FALSE</p>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_prepareExecute" name="method_prepareExecute" class="anchor"></a>
<article class="method">
<h3 class="public ">prepareExecute()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">prepareExecute(string <span class="argument">$sql</span>, array <span class="argument">$params</span>) : \PDOStatement</pre>
<p><em>Create and execute a prepared statement with the provided parameters</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$sql </td>
<td></td>
</tr>
<tr>
<td>array</td>
<td>$params </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
\PDOStatement
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_affectedRows" name="method_affectedRows" class="anchor"></a>
<article class="method">
<h3 class="public ">affectedRows()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">affectedRows() : integer</pre>
<p><em>Returns number of rows affected by an INSERT, UPDATE, DELETE type query</em></p>
<h4>Returns</h4>
integer
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_prefixTable" name="method_prefixTable" class="anchor"></a>
<article class="method">
<h3 class="public ">prefixTable()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">prefixTable(string <span class="argument">$table</span>) : string</pre>
<p><em>Prefixes a table if it is not already prefixed</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_quoteTable" name="method_quoteTable" class="anchor"></a>
<article class="method">
<h3 class="public ">quoteTable()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">quoteTable(string <span class="argument">$table</span>) : string</pre>
<p><em>Quote database table name, and set prefix</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_quoteIdent" name="method_quoteIdent" class="anchor"></a>
<article class="method">
<h3 class="public ">quoteIdent()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">quoteIdent(mixed <span class="argument">$identifier</span>) : string</pre>
<p><em>Surrounds the string with the databases identifier escape characters</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>mixed</td>
<td>$identifier </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getSchemas" name="method_getSchemas" class="anchor"></a>
<article class="method">
<h3 class="public ">getSchemas()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getSchemas() : array</pre>
<p><em>Get a list of schemas for the current connection</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getTables" name="method_getTables" class="anchor"></a>
<article class="method">
<h3 class="public ">getTables()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getTables() : array</pre>
<p><em>Return list of tables for the current database</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getDbs" name="method_getDbs" class="anchor"></a>
<article class="method">
<h3 class="public ">getDbs()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getDbs() : array</pre>
<p><em>Return list of dbs for the current connection, if possible</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getViews" name="method_getViews" class="anchor"></a>
<article class="method">
<h3 class="public ">getViews()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getViews() : array</pre>
<p><em>Return list of views for the current database</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getSequences" name="method_getSequences" class="anchor"></a>
<article class="method">
<h3 class="public ">getSequences()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getSequences() : array</pre>
<p><em>Return list of sequences for the current database, if they exist</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getFunctions" name="method_getFunctions" class="anchor"></a>
<article class="method">
<h3 class="public ">getFunctions()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getFunctions() : array</pre>
<p><em>Return list of functions for the current database</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getProcedures" name="method_getProcedures" class="anchor"></a>
<article class="method">
<h3 class="public ">getProcedures()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getProcedures() : array</pre>
<p><em>Return list of stored procedures for the current database</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getTriggers" name="method_getTriggers" class="anchor"></a>
<article class="method">
<h3 class="public ">getTriggers()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getTriggers() : array</pre>
<p><em>Return list of triggers for the current database</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getSystemTables" name="method_getSystemTables" class="anchor"></a>
<article class="method">
<h3 class="public ">getSystemTables()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getSystemTables() : array</pre>
<p><em>Retrieves an array of non-user-created tables for
the connection/database</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getColumns" name="method_getColumns" class="anchor"></a>
<article class="method">
<h3 class="public ">getColumns()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getColumns(string <span class="argument">$table</span>) : array</pre>
<p><em>Retrieve column information for the current database table</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getFks" name="method_getFks" class="anchor"></a>
<article class="method">
<h3 class="public ">getFks()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getFks(string <span class="argument">$table</span>) : array</pre>
<p><em>Retrieve foreign keys for the table</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getIndexes" name="method_getIndexes" class="anchor"></a>
<article class="method">
<h3 class="public ">getIndexes()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getIndexes(string <span class="argument">$table</span>) : array</pre>
<p><em>Retrieve indexes for the table</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_getTypes" name="method_getTypes" class="anchor"></a>
<article class="method">
<h3 class="public ">getTypes()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">getTypes() : array</pre>
<p><em>Retrieve list of data types for the database</em></p>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_driverQuery" name="method_driverQuery" class="anchor"></a>
<article class="method">
<h3 class="public ">driverQuery()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">driverQuery(string|array|null <span class="argument">$query</span>, boolean <span class="argument">$filteredIndex = TRUE</span>) : array</pre>
<p><em>Method to simplify retrieving db results for meta-data queries</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string|array|null</td>
<td>$query </td>
<td></td>
</tr>
<tr>
<td>boolean</td>
<td>$filteredIndex </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
array
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_numRows" name="method_numRows" class="anchor"></a>
<article class="method">
<h3 class="public ">numRows()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">numRows() : integer|null</pre>
<p><em>Return the number of rows returned for a SELECT query</em></p>
<h4>Returns</h4>
integer|null
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
<dt>See also</dt>
<dd><a href="http://us3.php.net/manual/en/pdostatement.rowcount.php#87110"><span class="namespace-wrapper">http://us3.php.net/manual/en/pdostatement.rowcount.php#87110</span></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_insertBatch" name="method_insertBatch" class="anchor"></a>
<article class="method">
<h3 class="public ">insertBatch()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">insertBatch(string <span class="argument">$table</span>, array|object <span class="argument">$data = array()</span>) : null|\Query\Drivers\array&lt;string|array|\Query\Drivers\null&gt;</pre>
<p><em>Create sql for batch insert</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
<tr>
<td>array|object</td>
<td>$data </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
null|\Query\Drivers\array<string|array|\Query\Drivers\null>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_updateBatch" name="method_updateBatch" class="anchor"></a>
<article class="method">
<h3 class="public ">updateBatch()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">updateBatch(string <span class="argument">$table</span>, array|object <span class="argument">$data</span>, string <span class="argument">$where</span>) : integer|null</pre>
<p><em>Creates a batch update, and executes it.</em></p>
<p>Returns the number of affected rows</p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
<tr>
<td>array|object</td>
<td>$data </td>
<td></td>
</tr>
<tr>
<td>string</td>
<td>$where </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
integer|null
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method__quote" name="method__quote" class="anchor"></a>
<article class="method">
<h3 class="public ">_quote()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">_quote(mixed <span class="argument">$str</span>) : mixed</pre>
<p><em>Helper method for quote_ident</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>mixed</td>
<td>$str </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
mixed
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method_truncate" name="method_truncate" class="anchor"></a>
<article class="method">
<h3 class="public ">truncate()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">truncate(string <span class="argument">$table</span>) : \PDOStatement</pre>
<p><em>Empty the passed table</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$table </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
\PDOStatement
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method__loadSubClasses" name="method__loadSubClasses" class="anchor"></a>
<article class="method">
<h3 class="protected ">_loadSubClasses()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">_loadSubClasses() : void</pre>
<p><em>Loads the subclasses for the driver</em></p>
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
<div class="row-fluid">
<div class="span8 content class">
<a id="method__prefix" name="method__prefix" class="anchor"></a>
<article class="method">
<h3 class="protected ">_prefix()</h3>
<a href="#source-view" role="button" class="pull-right btn" data-toggle="modal" style="font-size: 1.1em; padding: 9px 14px"><i class="icon-code"></i></a>
<pre class="signature" style="margin-right: 54px;">_prefix(string <span class="argument">$str</span>) : string</pre>
<p><em>Sets the table prefix on the passed string</em></p>
<h4>Parameters</h4>
<table class="table table-condensed table-hover">
<tr>
<td>string</td>
<td>$str </td>
<td></td>
</tr>
</table>
<h4>Returns</h4>
string
</article>
</div>
<aside class="span4 detailsbar">
<h1><i class="icon-arrow-down"></i></h1>
<dl>
<dt>Inherited from</dt>
<dd><a href="../classes/Query.Drivers.AbstractDriver.html"><div class="path-wrapper">\Query\Drivers\AbstractDriver</div></a></dd>
</dl>
<h2>Tags</h2>
<table class="table table-condensed">
<tr><td colspan="2"><em>None found</em></td></tr>
</table>
</aside>
</div>
</div>
</section>
<div id="source-view" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="source-view-label" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="source-view-label">Driver.php</h3>
</div>
<div class="modal-body">
<pre data-src="../files/Query/Drivers/Pgsql/Driver.php.txt" class="language-php line-numbers"></pre>
</div>
</div>
<footer class="row-fluid">
<section class="span10 offset2">
<section class="row-fluid">
<section class="span10 offset1">
<section class="row-fluid footer-sections">
<section class="span4">
<h1><i class="icon-code"></i></h1>
<div>
<ul>
<li><a href="../namespaces/Query.html">\Query</a></li>
</ul>
</div>
</section>
<section class="span4">
<h1><i class="icon-bar-chart"></i></h1>
<div>
<ul>
<li><a href="../graphs/class.html">Class Hierarchy Diagram</a></li>
</ul>
</div>
</section>
<section class="span4">
<h1><i class="icon-pushpin"></i></h1>
<div>
<ul>
<li><a href="../reports/errors.html">Errors</a></li>
<li><a href="../reports/markers.html">Markers</a></li>
</ul>
</div>
</section>
</section>
</section>
</section>
<section class="row-fluid">
<section class="span10 offset1">
<hr />
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor </a> and authored
on February 28th, 2017 at 21:36.
</section>
</section>
</section>
</footer>
</div>
</body>
</html>