Update docs, composer and README

This commit is contained in:
Timothy Warren 2014-03-31 16:01:58 -04:00
parent 621c2b7d91
commit 32a01a66e8
52 changed files with 6779 additions and 6140 deletions

View File

@ -72,7 +72,7 @@ If the `alias` key is set in the parameters, you can refer to a specific databas
Query('old')->query($sql);
### Running Queries
Query uses the same interface as CodeIgniter's [Active Record class](http://codeigniter.com/user_guide/database/active_record.html). However, it does not implement the `update_batch` or caching methods.
Query uses the same interface as CodeIgniter's [Active Record class](http://ellislab.com/codeigniter/user-guide/database/active_record.html). However, it does not implement the `update_batch` or caching methods.
####You can also run queries manually.

View File

@ -15,15 +15,19 @@
/**
* Autoloader for loading available database classes
*
* @package Query
*/
/**
* Reference to root path
* @subpackage Core
*/
define('QBASE_PATH', dirname(__FILE__).'/');
/**
* Path to driver classes
* @subpackage Core
*/
define('QDRIVER_PATH', QBASE_PATH.'drivers/');
@ -33,6 +37,7 @@ require(QBASE_PATH.'common.php');
/**
* Load query classes
*
* @subpackage Core
* @param string $class
*/
function query_autoload($class)

View File

@ -19,26 +19,44 @@
* Extends PDO to simplify cross-database issues
*
* @package Query
* @subpackage Query
* @subpackage Drivers
*/
abstract class Abstract_Driver extends PDO implements Driver_Interface {
// Reference to the last executed query
/**
* Reference to the last executed query
* @var PDOStatement
*/
protected $statement;
// Character to escape identifiers
/**
* Character to escape indentifiers
* @var string
*/
protected $escape_char = '"';
// Reference to sql sub class
/**
* Reference to sql class
* @var SQL_Interface
*/
public $sql;
// Reference to util sub class
/**
* Reference to util class
* @var DB_Util
*/
public $util;
// Last query executed
/**
* Last query executed
* @var string
*/
public $last_query;
// Prefix to apply to table namesa
/**
* Prefix to apply to table names
* @var string
*/
public $table_prefix = '';
/**

View File

@ -17,7 +17,7 @@
* parent for database manipulation subclasses
*
* @package Query
* @subpackage Query
* @subpackage Drivers
*/
abstract class Abstract_SQL implements SQL_Interface {

View File

@ -17,7 +17,7 @@
* Generic exception for bad drivers
*
* @package Query
* @subpackage Query
* @subpackage Core
*/
class BadDBDriverException extends InvalidArgumentException {}
@ -28,7 +28,7 @@ class BadDBDriverException extends InvalidArgumentException {}
* Query method
*
* @package Query
* @subpackage Query
* @subpackage Core
*/
final class Connection_Manager {
@ -44,12 +44,22 @@ final class Connection_Manager {
*/
private static $instance = null;
// --------------------------------------------------------------------------
/**
* Private methods for singleton
* Private constructor to prevent multiple instances
*/
private function __construct() {}
// --------------------------------------------------------------------------
/**
* Private clone method to prevent cloning
*/
private function __clone() {}
// --------------------------------------------------------------------------
/**
* Make sure serialize/deseriaze doesn't work
* @throws DomainException

View File

@ -17,7 +17,7 @@
* Abstract class defining database / table creation methods
*
* @package Query
* @subpackage Query
* @subpackage Drivers
*/
abstract class DB_Util {
@ -76,11 +76,6 @@ abstract class DB_Util {
// )
foreach($fields as $colname => $type)
{
if(is_numeric($colname))
{
$colname = $type;
}
$column_array[$colname] = array();
$column_array[$colname]['type'] = ($type !== $colname) ? $type : '';
}

View File

@ -15,6 +15,9 @@
/**
* PDO Interface to implement for database drivers
*
* @package Query
* @subpackage Drivers
*/
interface Driver_Interface {

View File

@ -18,7 +18,7 @@
* instantiates the specific db driver
*
* @package Query
* @subpackage Query
* @subpackage Query_Builder
*/
class Query_Builder implements Query_Builder_Interface {
@ -26,79 +26,148 @@ class Query_Builder implements Query_Builder_Interface {
// ! SQL Clause Strings
// --------------------------------------------------------------------------
// Compiled 'select' clause
/**
* Compiled 'select' clause
* @var type string
*/
protected $select_string = '';
// Compiled 'from' clause
/**
* Compiled 'from' clause
* @var type string
*/
protected $from_string;
// Compiled arguments for insert / update
/**
* Compiled arguments for insert / update
* @var string
*/
protected $set_string;
// Order by clause
/**
* Order by clause
* @var string
*/
protected $order_string;
// Group by clause
/**
* Group by clause
* @var string
*/
protected $group_string;
// --------------------------------------------------------------------------
// ! SQL Clause Arrays
// --------------------------------------------------------------------------
// Keys for insert/update statement
/**
* Keys for insert/update statement
* @var array
*/
protected $set_array_keys = array();
// Key/val pairs for order by clause
/**
* Key/val pairs for order by clause
* @var array
*/
protected $order_array = array();
// Key/val pairs for group by clause
/**
* Key/val pairs for group by clause
* @var array
*/
protected $group_array = array();
// --------------------------------------------------------------------------
// ! Other Class vars
// --------------------------------------------------------------------------
// Values to apply to prepared statements
/**
* Values to apply to prepared statements
* @var array
*/
protected $values = array();
// Values to apply to where clauses in prepared statements
/**
* Values to apply to where clauses in prepared statements
* @var array
*/
protected $where_values = array();
// Value for limit string
/**
* Value for limit string
* @var type string
*/
protected $limit;
// Value for offset in limit string
/**
* Value for offset in limit string
* @var int
*/
protected $offset;
// Query component order mapping
// for complex select queries
//
// Format:
// array(
// 'type' => 'where',
// 'conjunction' => ' AND ',
// 'string' => 'k=?'
// )
/**
* Query component order mapping
* for complex select queries
*
* Format:
* array(
* 'type' => 'where',
* 'conjunction' => ' AND ',
* 'string' => 'k=?'
* )
*
* @var array
*/
protected $query_map = array();
// Map for having clause
/**
* Map for having clause
* @var array
*/
protected $having_map;
// Convenience property for connection management
/**
* Convenience property for connection management
* @var string
*/
public $conn_name = "";
// List of sql queries executed
/**
* List of queries executed
* @var array
*/
public $queries;
// Whether to do only an explain on the query
/**
* Whether to do only an explain on the query
* @var bool
*/
protected $explain;
// Subclass instances
/**
* The current database driver
* @var Driver_Interface
*/
public $db;
/**
* Query parser class instance
* @var Query_Parser
*/
protected $parser;
// Aliases to driver subclasses
/**
* Alias to $this->db->util
* @var DB_Util
*/
public $util;
/**
* Alias to $this->db->sql
* @var SQL_Interface
*/
public $sql;
// --------------------------------------------------------------------------
@ -111,7 +180,7 @@ class Query_Builder implements Query_Builder_Interface {
* @param Abstract_driver $db
* @param object $params - the connection parameters
*/
public function __construct(Abstract_Driver $db, $params)
public function __construct(Driver_Interface $db, $params)
{
$this->db = $db;
@ -334,7 +403,7 @@ class Query_Builder implements Query_Builder_Interface {
* @param string $pos
* @param string $like
* @param string $conj
* @return $this
* @return Query_Builder
*/
protected function _like($field, $val, $pos, $like='LIKE', $conj='AND')
{
@ -438,7 +507,7 @@ class Query_Builder implements Query_Builder_Interface {
* @param mixed $key
* @param mixed $val
* @param string $conj
* @return $this
* @return Query_Builder
*/
protected function _having($key, $val=array(), $conj='AND')
{
@ -536,7 +605,7 @@ class Query_Builder implements Query_Builder_Interface {
* @param mixed $key
* @param mixed $val
* @param string $conj
* @return $this
* @return Query_Builder
*/
protected function _where_string($key, $val=array(), $conj='AND')
{
@ -591,7 +660,7 @@ class Query_Builder implements Query_Builder_Interface {
* @param mixed $val
* @param string $in - The (not) in fragment
* @param string $conj - The where in conjunction
* @return $this
* @return Query_Builder
*/
protected function _where_in($key, $val=array(), $in='IN', $conj='AND')
{
@ -1053,7 +1122,7 @@ class Query_Builder implements Query_Builder_Interface {
// --------------------------------------------------------------------------
/**
* Create sql for batch insert
* Creates and executes a batch insertion query
*
* @param string $table
* @param array $data

View File

@ -17,7 +17,7 @@
* Interface defining the Query Builder class
*
* @package Query
* @subpackage Query
* @subpackage Query_Builder
*/
interface Query_Builder_Interface {
@ -29,7 +29,7 @@ interface Query_Builder_Interface {
* Specifies rows to select in a query
*
* @param string $fields
* @return $this
* @return Query_Builder
*/
public function select($fields);
@ -40,7 +40,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param string $as
* @return $this
* @return Query_Builder
*/
public function select_max($field, $as=FALSE);
@ -51,7 +51,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param string $as
* @return $this
* @return Query_Builder
*/
public function select_min($field, $as=FALSE);
@ -62,7 +62,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param string $as
* @return $this
* @return Query_Builder
*/
public function select_avg($field, $as=FALSE);
@ -73,7 +73,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param string $as
* @return $this
* @return Query_Builder
*/
public function select_sum($field, $as=FALSE);
@ -82,7 +82,7 @@ interface Query_Builder_Interface {
/**
* Adds the 'distinct' keyword to a query
*
* @return $this
* @return Query_Builder
*/
public function distinct();
@ -91,7 +91,7 @@ interface Query_Builder_Interface {
/**
* Shows the query plan for the query
*
* @return $this
* @return Query_Builder
*/
public function explain();
@ -101,7 +101,7 @@ interface Query_Builder_Interface {
* Specify the database table to select from
*
* @param string $tblname
* @return $this
* @return Query_Builder
*/
public function from($tblname);
@ -115,7 +115,7 @@ interface Query_Builder_Interface {
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
* @return Query_Builder
*/
public function like($field, $val, $pos='both');
@ -127,7 +127,7 @@ interface Query_Builder_Interface {
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
* @return Query_Builder
*/
public function or_like($field, $val, $pos='both');
@ -139,7 +139,7 @@ interface Query_Builder_Interface {
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
* @return Query_Builder
*/
public function not_like($field, $val, $pos='both');
@ -151,7 +151,7 @@ interface Query_Builder_Interface {
* @param string $field
* @param mixed $val
* @param string $pos
* @return $this
* @return Query_Builder
*/
public function or_not_like($field, $val, $pos='both');
@ -164,7 +164,7 @@ interface Query_Builder_Interface {
*
* @param mixed $key
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function having($key, $val=array());
@ -175,7 +175,7 @@ interface Query_Builder_Interface {
*
* @param mixed $key
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function or_having($key, $val=array());
@ -191,7 +191,7 @@ interface Query_Builder_Interface {
* @param mixed $key
* @param mixed $val
* @param bool $escape
* @return $this
* @return Query_Builder
*/
public function where($key, $val=array(), $escape = NULL);
@ -202,7 +202,7 @@ interface Query_Builder_Interface {
*
* @param string $key
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function or_where($key, $val=array());
@ -213,7 +213,7 @@ interface Query_Builder_Interface {
*
* @param mixed $field
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function where_in($field, $val=array());
@ -224,7 +224,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function or_where_in($field, $val=array());
@ -235,7 +235,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function where_not_in($field, $val=array());
@ -246,7 +246,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function or_where_not_in($field, $val=array());
@ -259,7 +259,7 @@ interface Query_Builder_Interface {
*
* @param mixed $key
* @param mixed $val
* @return $this
* @return Query_Builder
*/
public function set($key, $val = NULL);
@ -271,7 +271,7 @@ interface Query_Builder_Interface {
* @param string $table
* @param string $condition
* @param string $type
* @return $this
* @return Query_Builder
*/
public function join($table, $condition, $type='');
@ -281,7 +281,7 @@ interface Query_Builder_Interface {
* Group the results by the selected field(s)
*
* @param mixed $field
* @return $this
* @return Query_Builder
*/
public function group_by($field);
@ -292,7 +292,7 @@ interface Query_Builder_Interface {
*
* @param string $field
* @param string $type
* @return $this
* @return Query_Builder
*/
public function order_by($field, $type="");
@ -314,7 +314,7 @@ interface Query_Builder_Interface {
/**
* Adds a paren to the current query for query grouping
*
* @return $this
* @return Query_Builder
*/
public function group_start();
@ -324,7 +324,7 @@ interface Query_Builder_Interface {
* Adds a paren to the current query for query grouping,
* prefixed with 'OR'
*
* @return $this
* @return Query_Builder
*/
public function or_group_start();
@ -334,7 +334,7 @@ interface Query_Builder_Interface {
* Adds a paren to the current query for query grouping,
* prefixed with 'OR NOT'
*
* @return $this
* @return Query_Builder
*/
public function or_not_group_start();
@ -343,7 +343,7 @@ interface Query_Builder_Interface {
/**
* Ends a query group
*
* @return $this
* @return Query_Builder
*/
public function group_end();

View File

@ -17,7 +17,7 @@
* Utility Class to parse sql clauses for properly escaping identifiers
*
* @package Query
* @subpackage Query
* @subpackage Query_Builder
*/
class Query_Parser {

View File

@ -17,7 +17,7 @@
* parent for database manipulation subclasses
*
* @package Query
* @subpackage Query
* @subpackage Drivers
*/
interface SQL_Interface {

View File

@ -15,6 +15,8 @@
/**
* Global functions that don't really fit anywhere else
*
* @package Query
*/
// --------------------------------------------------------------------------
@ -25,6 +27,7 @@ if ( ! function_exists('do_include'))
* Bulk directory loading workaround for use
* with array_map and glob
*
* @subpackage Core
* @param string $path
* @return void
*/
@ -41,6 +44,7 @@ if ( ! function_exists('mb_trim'))
/**
* Multibyte-safe trim function
*
* @subpackage Core
* @param string $string
* @return string
*/
@ -55,6 +59,7 @@ if ( ! function_exists('mb_trim'))
/**
* Filter out db rows into one array
*
* @subpackage Core
* @param array $array
* @param mixed $index
* @return array
@ -76,6 +81,7 @@ function db_filter($array, $index)
/**
* Connection function
*
* @subpackage Core
* @param mixed $params
* @return Query_Builder
*/

View File

@ -5,6 +5,7 @@
"keywords":[
"database",
"query builder",
"codeigniter",
"mysql",
"firebird",
"sqlite",
@ -22,9 +23,6 @@
"require": {
"php": ">=5.3"
},
"require-dev": {
"satooshi/php-coveralls": "dev-master"
},
"autoload": {
"files": ["autoload.php"]
}

View File

@ -4,244 +4,249 @@
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
-->
<!-- Title: G Pages: 1 -->
<svg width="710pt" height="1051pt"
viewBox="0.00 0.00 710.00 1051.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1047)">
<svg width="714pt" height="1105pt"
viewBox="0.00 0.00 714.00 1105.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 1101)">
<title>G</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-1047 707,-1047 707,5 -4,5"/>
<polygon fill="white" stroke="white" points="-4,5 -4,-1101 711,-1101 711,5 -4,5"/>
<g id="graph2" class="cluster"><title>cluster_Global</title>
<polyline fill="none" stroke="gray" points="20,-98 682,-98 "/>
<path fill="none" stroke="gray" d="M682,-98C688,-98 694,-104 694,-110"/>
<polyline fill="none" stroke="gray" points="694,-110 694,-1023 "/>
<path fill="none" stroke="gray" d="M694,-1023C694,-1029 688,-1035 682,-1035"/>
<polyline fill="none" stroke="gray" points="682,-1035 20,-1035 "/>
<path fill="none" stroke="gray" d="M20,-1035C14,-1035 8,-1029 8,-1023"/>
<polyline fill="none" stroke="gray" points="8,-1023 8,-110 "/>
<polyline fill="none" stroke="gray" points="20,-98 686,-98 "/>
<path fill="none" stroke="gray" d="M686,-98C692,-98 698,-104 698,-110"/>
<polyline fill="none" stroke="gray" points="698,-110 698,-1077 "/>
<path fill="none" stroke="gray" d="M698,-1077C698,-1083 692,-1089 686,-1089"/>
<polyline fill="none" stroke="gray" points="686,-1089 20,-1089 "/>
<path fill="none" stroke="gray" d="M20,-1089C14,-1089 8,-1083 8,-1077"/>
<polyline fill="none" stroke="gray" points="8,-1077 8,-110 "/>
<path fill="none" stroke="gray" d="M8,-110C8,-104 14,-98 20,-98"/>
<text text-anchor="middle" x="351" y="-1021.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">\</text>
<text text-anchor="middle" x="353" y="-1075.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">\</text>
</g>
<!-- \\Query_Parser -->
<g id="node2" class="node"><title>\\Query_Parser</title>
<polygon fill="none" stroke="black" points="660,-1006 570,-1006 570,-970 660,-970 660,-1006"/>
<text text-anchor="middle" x="615" y="-984.6" font-family="Times Roman,serif" font-size="11.00">Query_Parser</text>
<!-- \\Firebird_Result -->
<g id="node2" class="node"><title>\\Firebird_Result</title>
<polygon fill="none" stroke="black" points="665,-304 569,-304 569,-268 665,-268 665,-304"/>
<text text-anchor="middle" x="617" y="-282.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Result</text>
</g>
<!-- \\PDOStatement -->
<g id="node27" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="333" cy="-72" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="333" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge3" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title>
<path fill="none" stroke="black" d="M568.28,-274.237C559.451,-270.456 550.877,-265.494 544,-259 485.829,-204.065 535.299,-142.94 472,-94 459.275,-84.1613 443.901,-77.9281 428.084,-74.0965"/>
<polygon fill="none" stroke="black" points="428.705,-70.6505 418.197,-72.0105 427.259,-77.4997 428.705,-70.6505"/>
</g>
<!-- \\Firebird_Util -->
<g id="node3" class="node"><title>\\Firebird_Util</title>
<polygon fill="none" stroke="black" points="658,-898 576,-898 576,-862 658,-862 658,-898"/>
<text text-anchor="middle" x="617" y="-876.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Util</text>
</g>
<!-- \\DB_Util -->
<g id="node10" class="node"><title>\\DB_Util</title>
<polygon fill="none" stroke="black" points="371,-925 295,-925 295,-889 371,-889 371,-925"/>
<text text-anchor="start" x="303.5" y="-912.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="312.5" y="-899.233" font-family="Times Roman,serif" font-size="11.00">DB_Util</text>
</g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge5" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M575.704,-883.926C524.108,-888.831 435.966,-897.211 381.297,-902.408"/>
<polygon fill="none" stroke="black" points="380.786,-898.941 371.162,-903.372 381.449,-905.91 380.786,-898.941"/>
</g>
<!-- \\Query_Builder -->
<g id="node4" class="node"><title>\\Query_Builder</title>
<polygon fill="none" stroke="black" points="664,-1060 570,-1060 570,-1024 664,-1024 664,-1060"/>
<text text-anchor="middle" x="617" y="-1038.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder</text>
</g>
<!-- \\Query_Builder_Interface -->
<g id="node23" class="node"><title>\\Query_Builder_Interface</title>
<polygon fill="none" stroke="black" points="407,-1060 259,-1060 259,-1024 407,-1024 407,-1060"/>
<text text-anchor="middle" x="333" y="-1038.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder_Interface</text>
</g>
<!-- \\Query_Builder&#45;&gt;\\Query_Builder_Interface -->
<g id="edge7" class="edge"><title>\\Query_Builder&#45;&gt;\\Query_Builder_Interface</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M569.465,-1042C528.175,-1042 467.383,-1042 417.778,-1042"/>
<polygon fill="none" stroke="black" points="417.695,-1038.5 407.695,-1042 417.695,-1045.5 417.695,-1038.5"/>
</g>
<!-- \\Firebird -->
<g id="node5" class="node"><title>\\Firebird</title>
<polygon fill="none" stroke="black" points="646,-520 588,-520 588,-484 646,-484 646,-520"/>
<text text-anchor="middle" x="617" y="-498.6" font-family="Times Roman,serif" font-size="11.00">Firebird</text>
</g>
<!-- \\Abstract_Driver -->
<g id="node3" class="node"><title>\\Abstract_Driver</title>
<polygon fill="none" stroke="black" points="385,-736 281,-736 281,-700 385,-700 385,-736"/>
<text text-anchor="start" x="303.5" y="-723.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="289.5" y="-710.233" font-family="Times Roman,serif" font-size="11.00">Abstract_Driver</text>
<g id="node7" class="node"><title>\\Abstract_Driver</title>
<polygon fill="none" stroke="black" points="385,-412 281,-412 281,-376 385,-376 385,-412"/>
<text text-anchor="start" x="303.5" y="-399.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="289.5" y="-386.233" font-family="Times Roman,serif" font-size="11.00">Abstract_Driver</text>
</g>
<!-- \\Firebird&#45;&gt;\\Abstract_Driver -->
<g id="edge9" class="edge"><title>\\Firebird&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M587.841,-491.308C574.468,-486.381 558.415,-480.432 544,-475 491.26,-455.125 431.278,-432.053 388.783,-415.629"/>
<polygon fill="none" stroke="black" points="390.041,-412.363 379.452,-412.02 387.517,-418.892 390.041,-412.363"/>
</g>
<!-- \\MySQL_Util -->
<g id="node6" class="node"><title>\\MySQL_Util</title>
<polygon fill="none" stroke="black" points="656,-844 578,-844 578,-808 656,-808 656,-844"/>
<text text-anchor="middle" x="617" y="-822.6" font-family="Times Roman,serif" font-size="11.00">MySQL_Util</text>
</g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge11" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M577.212,-837.348C525.763,-852.022 436.231,-877.557 381.045,-893.297"/>
<polygon fill="none" stroke="black" points="379.814,-890.008 371.158,-896.117 381.734,-896.74 379.814,-890.008"/>
</g>
<!-- \\Driver_Interface -->
<g id="node22" class="node"><title>\\Driver_Interface</title>
<polygon fill="none" stroke="black" points="121,-736 17,-736 17,-700 121,-700 121,-736"/>
<text text-anchor="middle" x="69" y="-714.6" font-family="Times Roman,serif" font-size="11.00">Driver_Interface</text>
<g id="node24" class="node"><title>\\Driver_Interface</title>
<polygon fill="none" stroke="black" points="121,-412 17,-412 17,-376 121,-376 121,-412"/>
<text text-anchor="middle" x="69" y="-390.6" font-family="Times Roman,serif" font-size="11.00">Driver_Interface</text>
</g>
<!-- \\Abstract_Driver&#45;&gt;\\Driver_Interface -->
<g id="edge5" class="edge"><title>\\Abstract_Driver&#45;&gt;\\Driver_Interface</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M280.842,-718C237.953,-718 177.051,-718 131.547,-718"/>
<polygon fill="none" stroke="black" points="131.501,-714.5 121.501,-718 131.501,-721.5 131.501,-714.5"/>
<g id="edge15" class="edge"><title>\\Abstract_Driver&#45;&gt;\\Driver_Interface</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M280.842,-394C237.953,-394 177.051,-394 131.547,-394"/>
<polygon fill="none" stroke="black" points="131.501,-390.5 121.501,-394 131.501,-397.5 131.501,-390.5"/>
</g>
<!-- \\PDO -->
<g id="node26" class="node"><title>\\PDO</title>
<g id="node33" class="node"><title>\\PDO</title>
<ellipse fill="none" stroke="black" cx="69" cy="-72" rx="35.0527" ry="18"/>
<text text-anchor="middle" x="69" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDO</text>
</g>
<!-- \\Abstract_Driver&#45;&gt;\\PDO -->
<g id="edge3" class="edge"><title>\\Abstract_Driver&#45;&gt;\\PDO</title>
<path fill="none" stroke="black" d="M311.167,-699.891C279.617,-672.369 221.999,-616.75 194,-556 107.017,-367.268 250.391,-257.406 122,-94 118.812,-89.9424 114.744,-86.6261 110.283,-83.9172"/>
<polygon fill="none" stroke="black" points="111.854,-80.7896 101.348,-79.4215 108.708,-87.0427 111.854,-80.7896"/>
</g>
<!-- \\Abstract_SQL -->
<g id="node4" class="node"><title>\\Abstract_SQL</title>
<polygon fill="none" stroke="black" points="379,-547 287,-547 287,-511 379,-511 379,-547"/>
<text text-anchor="start" x="303.5" y="-534.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="295.5" y="-521.233" font-family="Times Roman,serif" font-size="11.00">Abstract_SQL</text>
</g>
<!-- \\SQL_Interface -->
<g id="node23" class="node"><title>\\SQL_Interface</title>
<polygon fill="none" stroke="black" points="115,-547 23,-547 23,-511 115,-511 115,-547"/>
<text text-anchor="middle" x="69" y="-525.6" font-family="Times Roman,serif" font-size="11.00">SQL_Interface</text>
</g>
<!-- \\Abstract_SQL&#45;&gt;\\SQL_Interface -->
<g id="edge7" class="edge"><title>\\Abstract_SQL&#45;&gt;\\SQL_Interface</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M286.713,-529C241.937,-529 173.981,-529 125.92,-529"/>
<polygon fill="none" stroke="black" points="125.678,-525.5 115.678,-529 125.678,-532.5 125.678,-525.5"/>
</g>
<!-- \\Query_Builder -->
<g id="node5" class="node"><title>\\Query_Builder</title>
<polygon fill="none" stroke="black" points="662,-952 568,-952 568,-916 662,-916 662,-952"/>
<text text-anchor="middle" x="615" y="-930.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder</text>
</g>
<!-- \\Query_Builder_Interface -->
<g id="node24" class="node"><title>\\Query_Builder_Interface</title>
<polygon fill="none" stroke="black" points="407,-952 259,-952 259,-916 407,-916 407,-952"/>
<text text-anchor="middle" x="333" y="-930.6" font-family="Times Roman,serif" font-size="11.00">Query_Builder_Interface</text>
</g>
<!-- \\Query_Builder&#45;&gt;\\Query_Builder_Interface -->
<g id="edge9" class="edge"><title>\\Query_Builder&#45;&gt;\\Query_Builder_Interface</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M567.481,-934C526.669,-934 466.838,-934 417.83,-934"/>
<polygon fill="none" stroke="black" points="417.547,-930.5 407.547,-934 417.547,-937.5 417.547,-930.5"/>
<g id="edge13" class="edge"><title>\\Abstract_Driver&#45;&gt;\\PDO</title>
<path fill="none" stroke="black" d="M280.865,-398.766C251.904,-398.522 217.154,-393.022 194,-372 99.5046,-286.206 205.715,-190.342 122,-94 118.741,-90.2493 114.74,-87.125 110.41,-84.5254"/>
<polygon fill="none" stroke="black" points="111.699,-81.2562 101.192,-79.8937 108.556,-87.511 111.699,-81.2562"/>
</g>
<!-- \\BadDBDriverException -->
<g id="node6" class="node"><title>\\BadDBDriverException</title>
<polygon fill="none" stroke="black" points="686,-196 544,-196 544,-160 686,-160 686,-196"/>
<text text-anchor="middle" x="615" y="-174.6" font-family="Times Roman,serif" font-size="11.00">BadDBDriverException</text>
<g id="node8" class="node"><title>\\BadDBDriverException</title>
<polygon fill="none" stroke="black" points="688,-196 546,-196 546,-160 688,-160 688,-196"/>
<text text-anchor="middle" x="617" y="-174.6" font-family="Times Roman,serif" font-size="11.00">BadDBDriverException</text>
</g>
<!-- \\InvalidArgumentException -->
<g id="node31" class="node"><title>\\InvalidArgumentException</title>
<ellipse fill="none" stroke="black" cx="333" cy="-72" rx="138.86" ry="18"/>
<text text-anchor="middle" x="333" y="-67.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text>
<g id="node36" class="node"><title>\\InvalidArgumentException</title>
<ellipse fill="none" stroke="black" cx="333" cy="-18" rx="138.86" ry="18"/>
<text text-anchor="middle" x="333" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\InvalidArgumentException</text>
</g>
<!-- \\BadDBDriverException&#45;&gt;\\InvalidArgumentException -->
<g id="edge11" class="edge"><title>\\BadDBDriverException&#45;&gt;\\InvalidArgumentException</title>
<path fill="none" stroke="black" d="M561.829,-159.848C555.688,-157.15 549.619,-154.191 544,-151 508.51,-130.844 509.377,-110.392 472,-94 465.232,-91.0316 458.122,-88.4575 450.846,-86.226"/>
<polygon fill="none" stroke="black" points="451.413,-82.7491 440.838,-83.3906 449.505,-89.484 451.413,-82.7491"/>
<g id="edge17" class="edge"><title>\\BadDBDriverException&#45;&gt;\\InvalidArgumentException</title>
<path fill="none" stroke="black" d="M557.88,-159.887C552.964,-157.282 548.256,-154.332 544,-151 499.156,-115.894 519.544,-76.3533 472,-45 464.92,-40.3309 457.223,-36.4299 449.206,-33.1748"/>
<polygon fill="none" stroke="black" points="450.257,-29.8318 439.663,-29.6429 447.827,-36.3965 450.257,-29.8318"/>
</g>
<!-- \\Connection_Manager -->
<g id="node7" class="node"><title>\\Connection_Manager</title>
<polygon fill="none" stroke="black" points="681,-844 549,-844 549,-808 681,-808 681,-844"/>
<text text-anchor="middle" x="615" y="-822.6" font-family="Times Roman,serif" font-size="11.00">Connection_Manager</text>
</g>
<!-- \\DB_Util -->
<g id="node8" class="node"><title>\\DB_Util</title>
<polygon fill="none" stroke="black" points="371,-331 295,-331 295,-295 371,-295 371,-331"/>
<text text-anchor="start" x="303.5" y="-318.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="312.5" y="-305.233" font-family="Times Roman,serif" font-size="11.00">DB_Util</text>
</g>
<!-- \\SQLite -->
<g id="node9" class="node"><title>\\SQLite</title>
<polygon fill="none" stroke="black" points="642,-790 588,-790 588,-754 642,-754 642,-790"/>
<text text-anchor="middle" x="615" y="-768.6" font-family="Times Roman,serif" font-size="11.00">SQLite</text>
</g>
<!-- \\SQLite&#45;&gt;\\Abstract_Driver -->
<g id="edge13" class="edge"><title>\\SQLite&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M587.961,-766.822C543.913,-758.388 455.549,-741.467 395.334,-729.936"/>
<polygon fill="none" stroke="black" points="395.66,-726.435 385.18,-727.992 394.344,-733.31 395.66,-726.435"/>
</g>
<!-- \\SQLite_SQL -->
<g id="node10" class="node"><title>\\SQLite_SQL</title>
<polygon fill="none" stroke="black" points="655,-574 575,-574 575,-538 655,-538 655,-574"/>
<text text-anchor="middle" x="615" y="-552.6" font-family="Times Roman,serif" font-size="11.00">SQLite_SQL</text>
</g>
<!-- \\SQLite_SQL&#45;&gt;\\Abstract_SQL -->
<g id="edge15" class="edge"><title>\\SQLite_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M574.896,-552.16C526.325,-547.51 444.212,-539.648 389.311,-534.391"/>
<polygon fill="none" stroke="black" points="389.339,-530.878 379.051,-533.409 388.672,-537.846 389.339,-530.878"/>
<g id="node9" class="node"><title>\\Connection_Manager</title>
<polygon fill="none" stroke="black" points="683,-736 551,-736 551,-700 683,-700 683,-736"/>
<text text-anchor="middle" x="617" y="-714.6" font-family="Times Roman,serif" font-size="11.00">Connection_Manager</text>
</g>
<!-- \\SQLite_Util -->
<g id="node11" class="node"><title>\\SQLite_Util</title>
<polygon fill="none" stroke="black" points="653,-358 577,-358 577,-322 653,-322 653,-358"/>
<text text-anchor="middle" x="615" y="-336.6" font-family="Times Roman,serif" font-size="11.00">SQLite_Util</text>
<polygon fill="none" stroke="black" points="655,-1006 579,-1006 579,-970 655,-970 655,-1006"/>
<text text-anchor="middle" x="617" y="-984.6" font-family="Times Roman,serif" font-size="11.00">SQLite_Util</text>
</g>
<!-- \\SQLite_Util&#45;&gt;\\DB_Util -->
<g id="edge17" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M576.38,-336.302C525.648,-331.445 436.548,-322.914 381.378,-317.632"/>
<polygon fill="none" stroke="black" points="381.441,-314.122 371.153,-316.653 380.774,-321.09 381.441,-314.122"/>
</g>
<!-- \\Firebird -->
<g id="node12" class="node"><title>\\Firebird</title>
<polygon fill="none" stroke="black" points="644,-898 586,-898 586,-862 644,-862 644,-898"/>
<text text-anchor="middle" x="615" y="-876.6" font-family="Times Roman,serif" font-size="11.00">Firebird</text>
</g>
<!-- \\Firebird&#45;&gt;\\Abstract_Driver -->
<g id="edge19" class="edge"><title>\\Firebird&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M585.749,-870.409C572.705,-865.745 557.311,-859.7 544,-853 477.815,-819.689 406.265,-770.919 365.808,-742.023"/>
<polygon fill="none" stroke="black" points="367.824,-739.162 357.66,-736.171 363.741,-744.847 367.824,-739.162"/>
</g>
<!-- \\Firebird_SQL -->
<g id="node13" class="node"><title>\\Firebird_SQL</title>
<polygon fill="none" stroke="black" points="657,-520 573,-520 573,-484 657,-484 657,-520"/>
<text text-anchor="middle" x="615" y="-498.6" font-family="Times Roman,serif" font-size="11.00">Firebird_SQL</text>
</g>
<!-- \\Firebird_SQL&#45;&gt;\\Abstract_SQL -->
<g id="edge21" class="edge"><title>\\Firebird_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M572.476,-506.071C523.619,-510.749 443.253,-518.444 389.253,-523.614"/>
<polygon fill="none" stroke="black" points="388.777,-520.144 379.156,-524.581 389.444,-527.112 388.777,-520.144"/>
</g>
<!-- \\Firebird_Result -->
<g id="node14" class="node"><title>\\Firebird_Result</title>
<polygon fill="none" stroke="black" points="663,-142 567,-142 567,-106 663,-106 663,-142"/>
<text text-anchor="middle" x="615" y="-120.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Result</text>
</g>
<!-- \\PDOStatement -->
<g id="node38" class="node"><title>\\PDOStatement</title>
<ellipse fill="none" stroke="black" cx="333" cy="-18" rx="85.1942" ry="18"/>
<text text-anchor="middle" x="333" y="-13.4" font-family="Times Roman,serif" font-size="14.00" fill="gray">\PDOStatement</text>
</g>
<!-- \\Firebird_Result&#45;&gt;\\PDOStatement -->
<g id="edge23" class="edge"><title>\\Firebird_Result&#45;&gt;\\PDOStatement</title>
<path fill="none" stroke="black" d="M588.27,-105.876C560.416,-87.8131 514.923,-60.5848 472,-45 453.996,-38.4628 434.074,-33.4037 415.071,-29.5286"/>
<polygon fill="none" stroke="black" points="415.717,-26.0888 405.232,-27.6085 414.376,-32.9592 415.717,-26.0888"/>
</g>
<!-- \\Firebird_Util -->
<g id="node15" class="node"><title>\\Firebird_Util</title>
<polygon fill="none" stroke="black" points="656,-304 574,-304 574,-268 656,-268 656,-304"/>
<text text-anchor="middle" x="615" y="-282.6" font-family="Times Roman,serif" font-size="11.00">Firebird_Util</text>
</g>
<!-- \\Firebird_Util&#45;&gt;\\DB_Util -->
<g id="edge25" class="edge"><title>\\Firebird_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M573.995,-289.926C522.906,-294.818 435.731,-303.164 381.413,-308.365"/>
<polygon fill="none" stroke="black" points="380.96,-304.892 371.339,-309.329 381.627,-311.86 380.96,-304.892"/>
</g>
<!-- \\PgSQL -->
<g id="node16" class="node"><title>\\PgSQL</title>
<polygon fill="none" stroke="black" points="642,-736 588,-736 588,-700 642,-700 642,-736"/>
<text text-anchor="middle" x="615" y="-714.6" font-family="Times Roman,serif" font-size="11.00">PgSQL</text>
</g>
<!-- \\PgSQL&#45;&gt;\\Abstract_Driver -->
<g id="edge27" class="edge"><title>\\PgSQL&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M587.961,-718C543.913,-718 455.549,-718 395.334,-718"/>
<polygon fill="none" stroke="black" points="395.18,-714.5 385.18,-718 395.18,-721.5 395.18,-714.5"/>
</g>
<!-- \\PgSQL_SQL -->
<g id="node17" class="node"><title>\\PgSQL_SQL</title>
<polygon fill="none" stroke="black" points="655,-466 575,-466 575,-430 655,-430 655,-466"/>
<text text-anchor="middle" x="615" y="-444.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_SQL</text>
</g>
<!-- \\PgSQL_SQL&#45;&gt;\\Abstract_SQL -->
<g id="edge29" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M574.896,-459.519C526.224,-473.499 443.87,-497.154 388.969,-512.924"/>
<polygon fill="none" stroke="black" points="387.696,-509.648 379.051,-515.772 389.629,-516.376 387.696,-509.648"/>
<g id="edge19" class="edge"><title>\\SQLite_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M578.403,-976.992C527.147,-962.373 436.632,-936.557 381.02,-920.696"/>
<polygon fill="none" stroke="black" points="381.636,-917.232 371.059,-917.855 379.716,-923.963 381.636,-917.232"/>
</g>
<!-- \\PgSQL_Util -->
<g id="node18" class="node"><title>\\PgSQL_Util</title>
<polygon fill="none" stroke="black" points="653,-250 577,-250 577,-214 653,-214 653,-250"/>
<text text-anchor="middle" x="615" y="-228.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_Util</text>
<g id="node12" class="node"><title>\\PgSQL_Util</title>
<polygon fill="none" stroke="black" points="655,-952 579,-952 579,-916 655,-916 655,-952"/>
<text text-anchor="middle" x="617" y="-930.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_Util</text>
</g>
<!-- \\PgSQL_Util&#45;&gt;\\DB_Util -->
<g id="edge31" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M576.896,-246.05C566.206,-250.111 554.608,-254.629 544,-259 511.622,-272.34 505.58,-281.067 472,-291 442.396,-299.757 408.152,-305.229 381.061,-308.526"/>
<polygon fill="none" stroke="black" points="380.584,-305.057 371.053,-309.685 381.389,-312.011 380.584,-305.057"/>
<g id="edge21" class="edge"><title>\\PgSQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M578.993,-930.387C527.911,-925.53 437.083,-916.895 381.238,-911.586"/>
<polygon fill="none" stroke="black" points="381.522,-908.097 371.235,-910.635 380.859,-915.066 381.522,-908.097"/>
</g>
<!-- \\MySQL -->
<g id="node19" class="node"><title>\\MySQL</title>
<polygon fill="none" stroke="black" points="642,-682 588,-682 588,-646 642,-646 642,-682"/>
<text text-anchor="middle" x="615" y="-660.6" font-family="Times Roman,serif" font-size="11.00">MySQL</text>
<!-- \\PgSQL_SQL -->
<g id="node13" class="node"><title>\\PgSQL_SQL</title>
<polygon fill="none" stroke="black" points="657,-628 577,-628 577,-592 657,-592 657,-628"/>
<text text-anchor="middle" x="617" y="-606.6" font-family="Times Roman,serif" font-size="11.00">PgSQL_SQL</text>
</g>
<!-- \\MySQL&#45;&gt;\\Abstract_Driver -->
<g id="edge33" class="edge"><title>\\MySQL&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M587.447,-669.276C543.231,-677.743 455.32,-694.577 395.338,-706.063"/>
<polygon fill="none" stroke="black" points="394.385,-702.682 385.222,-708 395.702,-709.557 394.385,-702.682"/>
<!-- \\Abstract_SQL -->
<g id="node18" class="node"><title>\\Abstract_SQL</title>
<polygon fill="none" stroke="black" points="379,-655 287,-655 287,-619 379,-619 379,-655"/>
<text text-anchor="start" x="303.5" y="-642.433" font-family="Times Roman,serif" font-size="11.00">«abstract»</text>
<text text-anchor="start" x="295.5" y="-629.233" font-family="Times Roman,serif" font-size="11.00">Abstract_SQL</text>
</g>
<!-- \\PgSQL_SQL&#45;&gt;\\Abstract_SQL -->
<g id="edge23" class="edge"><title>\\PgSQL_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M576.912,-613.811C527.828,-618.478 444.408,-626.408 389.005,-631.676"/>
<polygon fill="none" stroke="black" points="388.625,-628.196 379.001,-632.627 389.287,-635.164 388.625,-628.196"/>
</g>
<!-- \\MySQL_SQL -->
<g id="node20" class="node"><title>\\MySQL_SQL</title>
<polygon fill="none" stroke="black" points="656,-628 574,-628 574,-592 656,-592 656,-628"/>
<text text-anchor="middle" x="615" y="-606.6" font-family="Times Roman,serif" font-size="11.00">MySQL_SQL</text>
<g id="node14" class="node"><title>\\MySQL_SQL</title>
<polygon fill="none" stroke="black" points="658,-574 576,-574 576,-538 658,-538 658,-574"/>
<text text-anchor="middle" x="617" y="-552.6" font-family="Times Roman,serif" font-size="11.00">MySQL_SQL</text>
</g>
<!-- \\MySQL_SQL&#45;&gt;\\Abstract_SQL -->
<g id="edge35" class="edge"><title>\\MySQL_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M573.995,-598.222C525.244,-584.219 443.636,-560.778 389.072,-545.106"/>
<polygon fill="none" stroke="black" points="389.79,-541.671 379.213,-542.274 387.858,-548.399 389.79,-541.671"/>
<g id="edge25" class="edge"><title>\\MySQL_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M575.704,-567.778C526.463,-581.822 443.936,-605.36 388.984,-621.033"/>
<polygon fill="none" stroke="black" points="387.715,-617.755 379.059,-623.864 389.635,-624.486 387.715,-617.755"/>
</g>
<!-- \\MySQL_Util -->
<g id="node21" class="node"><title>\\MySQL_Util</title>
<polygon fill="none" stroke="black" points="654,-412 576,-412 576,-376 654,-376 654,-412"/>
<text text-anchor="middle" x="615" y="-390.6" font-family="Times Roman,serif" font-size="11.00">MySQL_Util</text>
<!-- \\Firebird_SQL -->
<g id="node15" class="node"><title>\\Firebird_SQL</title>
<polygon fill="none" stroke="black" points="659,-790 575,-790 575,-754 659,-754 659,-790"/>
<text text-anchor="middle" x="617" y="-768.6" font-family="Times Roman,serif" font-size="11.00">Firebird_SQL</text>
</g>
<!-- \\MySQL_Util&#45;&gt;\\DB_Util -->
<g id="edge37" class="edge"><title>\\MySQL_Util&#45;&gt;\\DB_Util</title>
<path fill="none" stroke="black" d="M575.492,-382.652C524.548,-368.019 436.001,-342.585 381.167,-326.835"/>
<polygon fill="none" stroke="black" points="381.915,-323.409 371.337,-324.012 379.982,-330.137 381.915,-323.409"/>
<!-- \\Firebird_SQL&#45;&gt;\\Abstract_SQL -->
<g id="edge27" class="edge"><title>\\Firebird_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M574.198,-757.137C564.198,-753.398 553.651,-749.237 544,-745 483.62,-718.493 416.157,-682.855 374.137,-659.902"/>
<polygon fill="none" stroke="black" points="375.762,-656.801 365.31,-655.063 372.397,-662.94 375.762,-656.801"/>
</g>
<!-- \\SQLite -->
<g id="node16" class="node"><title>\\SQLite</title>
<polygon fill="none" stroke="black" points="644,-466 590,-466 590,-430 644,-430 644,-466"/>
<text text-anchor="middle" x="617" y="-444.6" font-family="Times Roman,serif" font-size="11.00">SQLite</text>
</g>
<!-- \\SQLite&#45;&gt;\\Abstract_Driver -->
<g id="edge29" class="edge"><title>\\SQLite&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M589.769,-442.822C545.186,-434.345 455.522,-417.296 394.863,-405.763"/>
<polygon fill="none" stroke="black" points="395.493,-402.32 385.015,-403.89 394.185,-409.197 395.493,-402.32"/>
</g>
<!-- \\SQLite_SQL -->
<g id="node17" class="node"><title>\\SQLite_SQL</title>
<polygon fill="none" stroke="black" points="657,-682 577,-682 577,-646 657,-646 657,-682"/>
<text text-anchor="middle" x="617" y="-660.6" font-family="Times Roman,serif" font-size="11.00">SQLite_SQL</text>
</g>
<!-- \\SQLite_SQL&#45;&gt;\\Abstract_SQL -->
<g id="edge31" class="edge"><title>\\SQLite_SQL&#45;&gt;\\Abstract_SQL</title>
<path fill="none" stroke="black" d="M576.912,-660.189C527.828,-655.522 444.408,-647.592 389.005,-642.324"/>
<polygon fill="none" stroke="black" points="389.287,-638.836 379.001,-641.373 388.625,-645.804 389.287,-638.836"/>
</g>
<!-- \\SQL_Interface -->
<g id="node22" class="node"><title>\\SQL_Interface</title>
<polygon fill="none" stroke="black" points="115,-655 23,-655 23,-619 115,-619 115,-655"/>
<text text-anchor="middle" x="69" y="-633.6" font-family="Times Roman,serif" font-size="11.00">SQL_Interface</text>
</g>
<!-- \\Abstract_SQL&#45;&gt;\\SQL_Interface -->
<g id="edge33" class="edge"><title>\\Abstract_SQL&#45;&gt;\\SQL_Interface</title>
<path fill="none" stroke="black" stroke-dasharray="1,5" d="M286.713,-637C241.937,-637 173.981,-637 125.92,-637"/>
<polygon fill="none" stroke="black" points="125.678,-633.5 115.678,-637 125.678,-640.5 125.678,-633.5"/>
</g>
<!-- \\PgSQL -->
<g id="node19" class="node"><title>\\PgSQL</title>
<polygon fill="none" stroke="black" points="644,-412 590,-412 590,-376 644,-376 644,-412"/>
<text text-anchor="middle" x="617" y="-390.6" font-family="Times Roman,serif" font-size="11.00">PgSQL</text>
</g>
<!-- \\PgSQL&#45;&gt;\\Abstract_Driver -->
<g id="edge35" class="edge"><title>\\PgSQL&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M589.769,-394C545.278,-394 455.891,-394 395.239,-394"/>
<polygon fill="none" stroke="black" points="395.015,-390.5 385.015,-394 395.015,-397.5 395.015,-390.5"/>
</g>
<!-- \\Query_Parser -->
<g id="node20" class="node"><title>\\Query_Parser</title>
<polygon fill="none" stroke="black" points="662,-250 572,-250 572,-214 662,-214 662,-250"/>
<text text-anchor="middle" x="617" y="-228.6" font-family="Times Roman,serif" font-size="11.00">Query_Parser</text>
</g>
<!-- \\MySQL -->
<g id="node21" class="node"><title>\\MySQL</title>
<polygon fill="none" stroke="black" points="644,-358 590,-358 590,-322 644,-322 644,-358"/>
<text text-anchor="middle" x="617" y="-336.6" font-family="Times Roman,serif" font-size="11.00">MySQL</text>
</g>
<!-- \\MySQL&#45;&gt;\\Abstract_Driver -->
<g id="edge37" class="edge"><title>\\MySQL&#45;&gt;\\Abstract_Driver</title>
<path fill="none" stroke="black" d="M589.305,-346.633C560.2,-353.481 513.034,-364.232 472,-372 447.004,-376.732 419.346,-381.254 395.327,-384.954"/>
<polygon fill="none" stroke="black" points="394.632,-381.52 385.274,-386.488 395.687,-388.44 394.632,-381.52"/>
</g>
<!-- \\Table_Builder_Interface -->
<g id="node25" class="node"><title>\\Table_Builder_Interface</title>
<polygon fill="none" stroke="black" points="689,-142 545,-142 545,-106 689,-106 689,-142"/>
<text text-anchor="middle" x="617" y="-120.6" font-family="Times Roman,serif" font-size="11.00">Table_Builder_Interface</text>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -93,16 +93,16 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
<li class="nav-header">
<i title="Properties" class="icon-custom icon-property"></i> Properties
<ul>
<li class="property public "><a href="#property_last_query" title="$last_query() :: "><span class="description"></span><pre>$last_query</pre></a></li>
<li class="property public "><a href="#property_sql" title="$sql() :: "><span class="description"></span><pre>$sql</pre></a></li>
<li class="property public "><a href="#property_table_prefix" title="$table_prefix() :: "><span class="description"></span><pre>$table_prefix</pre></a></li>
<li class="property public "><a href="#property_util" title="$util() :: "><span class="description"></span><pre>$util</pre></a></li>
<li class="property public "><a href="#property_last_query" title="$last_query() :: Last query executed"><span class="description"></span><pre>$last_query</pre></a></li>
<li class="property public "><a href="#property_sql" title="$sql() :: Reference to sql class"><span class="description"></span><pre>$sql</pre></a></li>
<li class="property public "><a href="#property_table_prefix" title="$table_prefix() :: Prefix to apply to table names"><span class="description"></span><pre>$table_prefix</pre></a></li>
<li class="property public "><a href="#property_util" title="$util() :: Reference to util class"><span class="description"></span><pre>$util</pre></a></li>
</ul>
</li>
<li class="nav-header protected">» Protected
<ul>
<li class="property protected "><a href="#property_escape_char" title="$escape_char() :: "><span class="description"></span><pre>$escape_char</pre></a></li>
<li class="property protected "><a href="#property_statement" title="$statement() :: "><span class="description"></span><pre>$statement</pre></a></li>
<li class="property protected "><a href="#property_escape_char" title="$escape_char() :: Character to escape indentifiers"><span class="description"></span><pre>$escape_char</pre></a></li>
<li class="property protected "><a href="#property_statement" title="$statement() :: Reference to the last executed query"><span class="description"></span><pre>$statement</pre></a></li>
</ul>
</li>
</ul>
@ -123,11 +123,11 @@ the connection/database</span><pre>get_system_tables()</pre></a></li>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Drivers</td>
</tr>
</table>
<h3>
@ -455,8 +455,8 @@ the connection/database</h2>
<h3>
<i title="Properties" class="icon-custom icon-property"></i> Properties</h3>
<a id="property_last_query"> </a><div class="element clickable property public property_last_query" data-toggle="collapse" data-target=".property_last_query .collapse" title="public">
<h2>$last_query</h2>
<pre>$last_query </pre>
<h2>Last query executed</h2>
<pre>$last_query : string</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -465,8 +465,8 @@ the connection/database</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_sql"> </a><div class="element clickable property public property_sql" data-toggle="collapse" data-target=".property_sql .collapse" title="public">
<h2>$sql</h2>
<pre>$sql </pre>
<h2>Reference to sql class</h2>
<pre>$sql : <a href="../classes/SQL_Interface.html">\SQL_Interface</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -475,8 +475,8 @@ the connection/database</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_table_prefix"> </a><div class="element clickable property public property_table_prefix" data-toggle="collapse" data-target=".property_table_prefix .collapse" title="public">
<h2>$table_prefix</h2>
<pre>$table_prefix </pre>
<h2>Prefix to apply to table names</h2>
<pre>$table_prefix : string</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>''</code></div>
@ -485,8 +485,8 @@ the connection/database</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_util"> </a><div class="element clickable property public property_util" data-toggle="collapse" data-target=".property_util .collapse" title="public">
<h2>$util</h2>
<pre>$util </pre>
<h2>Reference to util class</h2>
<pre>$util : <a href="../classes/DB_Util.html">\DB_Util</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -495,8 +495,8 @@ the connection/database</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_escape_char"> </a><div class="element clickable property protected property_escape_char" data-toggle="collapse" data-target=".property_escape_char .collapse" title="protected">
<h2>$escape_char</h2>
<pre>$escape_char </pre>
<h2>Character to escape indentifiers</h2>
<pre>$escape_char : string</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>'"'</code></div>
@ -505,8 +505,8 @@ the connection/database</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_statement"> </a><div class="element clickable property protected property_statement" data-toggle="collapse" data-target=".property_statement .collapse" title="protected">
<h2>$statement</h2>
<pre>$statement </pre>
<h2>Reference to the last executed query</h2>
<pre>$statement : <a href="PDOStatement.html">\PDOStatement</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -522,7 +522,7 @@ the connection/database</h2>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -78,11 +78,11 @@
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Drivers</td>
</tr>
</table>
<h3>
@ -118,7 +118,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -75,11 +75,11 @@
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Core.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Core</td>
</tr>
</table>
</div>
@ -90,7 +90,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -68,9 +68,8 @@
</li>
<li class="nav-header private">» Private
<ul>
<li class="method private "><a href="#method___clone" title="__clone() :: "><span class="description">__clone()
</span><pre>__clone()</pre></a></li>
<li class="method private "><a href="#method___construct" title="__construct() :: Private methods for singleton"><span class="description">Private methods for singleton</span><pre>__construct()</pre></a></li>
<li class="method private "><a href="#method___clone" title="__clone() :: Private clone method to prevent cloning"><span class="description">Private clone method to prevent cloning</span><pre>__clone()</pre></a></li>
<li class="method private "><a href="#method___construct" title="__construct() :: Private constructor to prevent multiple instances"><span class="description">Private constructor to prevent multiple instances</span><pre>__construct()</pre></a></li>
<li class="method private "><a href="#method___wakup" title="__wakup() :: Make sure serialize/deseriaze doesn't work"><span class="description">Make sure serialize/deseriaze doesn't work</span><pre>__wakup()</pre></a></li>
<li class="method private "><a href="#method_create_dsn" title="create_dsn() :: Create the dsn from the db type and params"><span class="description">Create the dsn from the db type and params</span><pre>create_dsn()</pre></a></li>
<li class="method private "><a href="#method_parse_params" title="parse_params() :: Parses params into a dsn and option array"><span class="description">Parses params into a dsn and option array</span><pre>parse_params()</pre></a></li>
@ -105,11 +104,11 @@ Query method</p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Core.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Core</td>
</tr>
</table>
<h3>
@ -169,14 +168,13 @@ Query method</p>
</div></div>
</div>
<a id="method___clone"></a><div class="element clickable method private method___clone" data-toggle="collapse" data-target=".method___clone .collapse" title="private">
<h2>__clone()
</h2>
<h2>Private clone method to prevent cloning</h2>
<pre>__clone() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method___construct"></a><div class="element clickable method private method___construct" data-toggle="collapse" data-target=".method___construct .collapse" title="private">
<h2>Private methods for singleton</h2>
<h2>Private constructor to prevent multiple instances</h2>
<pre>__construct() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
@ -261,7 +259,7 @@ Query method</p>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -94,11 +94,11 @@
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Drivers</td>
</tr>
</table>
<h3>
@ -229,7 +229,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -85,6 +85,16 @@
<p class="short_description">PDO Interface to implement for database drivers</p>
<div class="details">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Drivers</td>
</tr>
</table>
<h3>
<i title="Methods" class="icon-custom icon-method"></i> Methods</h3>
<a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse" title="public">
@ -221,7 +231,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -456,7 +456,7 @@ the last query executed</h2>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -386,7 +386,7 @@ the query</h2>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -262,7 +262,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -212,7 +212,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -157,7 +157,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -267,7 +267,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -305,7 +305,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -147,7 +147,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -238,7 +238,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -185,7 +185,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -85,7 +85,7 @@ execute current compiled query</span><pre>get()</pre></a></li>
<li class="method public "><a href="#method_group_start" title="group_start() :: Adds a paren to the current query for query grouping"><span class="description">Adds a paren to the current query for query grouping</span><pre>group_start()</pre></a></li>
<li class="method public "><a href="#method_having" title="having() :: Generates a 'Having' clause"><span class="description">Generates a 'Having' clause</span><pre>having()</pre></a></li>
<li class="method public "><a href="#method_insert" title="insert() :: Creates an insert clause, and executes it"><span class="description">Creates an insert clause, and executes it</span><pre>insert()</pre></a></li>
<li class="method public "><a href="#method_insert_batch" title="insert_batch() :: Create sql for batch insert"><span class="description">Create sql for batch insert</span><pre>insert_batch()</pre></a></li>
<li class="method public "><a href="#method_insert_batch" title="insert_batch() :: Creates and executes a batch insertion query"><span class="description">Creates and executes a batch insertion query</span><pre>insert_batch()</pre></a></li>
<li class="method public "><a href="#method_join" title="join() :: Creates a join phrase in a compiled query"><span class="description">Creates a join phrase in a compiled query</span><pre>join()</pre></a></li>
<li class="method public "><a href="#method_like" title="like() :: Creates a Like clause in the sql statement"><span class="description">Creates a Like clause in the sql statement</span><pre>like()</pre></a></li>
<li class="method public "><a href="#method_limit" title="limit() :: Set a limit on the current sql statement"><span class="description">Set a limit on the current sql statement</span><pre>limit()</pre></a></li>
@ -137,31 +137,32 @@ passed array with key / value pairs</span><pre>where()</pre></a></li>
<li class="nav-header">
<i title="Properties" class="icon-custom icon-property"></i> Properties
<ul>
<li class="property public "><a href="#property_conn_name" title="$conn_name() :: "><span class="description"></span><pre>$conn_name</pre></a></li>
<li class="property public "><a href="#property_db" title="$db() :: "><span class="description"></span><pre>$db</pre></a></li>
<li class="property public "><a href="#property_queries" title="$queries() :: "><span class="description"></span><pre>$queries</pre></a></li>
<li class="property public "><a href="#property_sql" title="$sql() :: "><span class="description"></span><pre>$sql</pre></a></li>
<li class="property public "><a href="#property_util" title="$util() :: "><span class="description"></span><pre>$util</pre></a></li>
<li class="property public "><a href="#property_conn_name" title="$conn_name() :: Convenience property for connection management"><span class="description"></span><pre>$conn_name</pre></a></li>
<li class="property public "><a href="#property_db" title="$db() :: The current database driver"><span class="description"></span><pre>$db</pre></a></li>
<li class="property public "><a href="#property_queries" title="$queries() :: List of queries executed"><span class="description"></span><pre>$queries</pre></a></li>
<li class="property public "><a href="#property_sql" title="$sql() :: Alias to $this-&gt;db-&gt;sql"><span class="description"></span><pre>$sql</pre></a></li>
<li class="property public "><a href="#property_util" title="$util() :: Alias to $this-&gt;db-&gt;util"><span class="description"></span><pre>$util</pre></a></li>
</ul>
</li>
<li class="nav-header protected">» Protected
<ul>
<li class="property protected "><a href="#property_explain" title="$explain() :: "><span class="description"></span><pre>$explain</pre></a></li>
<li class="property protected "><a href="#property_from_string" title="$from_string() :: "><span class="description"></span><pre>$from_string</pre></a></li>
<li class="property protected "><a href="#property_group_array" title="$group_array() :: "><span class="description"></span><pre>$group_array</pre></a></li>
<li class="property protected "><a href="#property_group_string" title="$group_string() :: "><span class="description"></span><pre>$group_string</pre></a></li>
<li class="property protected "><a href="#property_having_map" title="$having_map() :: "><span class="description"></span><pre>$having_map</pre></a></li>
<li class="property protected "><a href="#property_limit" title="$limit() :: "><span class="description"></span><pre>$limit</pre></a></li>
<li class="property protected "><a href="#property_offset" title="$offset() :: "><span class="description"></span><pre>$offset</pre></a></li>
<li class="property protected "><a href="#property_order_array" title="$order_array() :: "><span class="description"></span><pre>$order_array</pre></a></li>
<li class="property protected "><a href="#property_order_string" title="$order_string() :: "><span class="description"></span><pre>$order_string</pre></a></li>
<li class="property protected "><a href="#property_parser" title="$parser() :: "><span class="description"></span><pre>$parser</pre></a></li>
<li class="property protected "><a href="#property_query_map" title="$query_map() :: "><span class="description"></span><pre>$query_map</pre></a></li>
<li class="property protected "><a href="#property_select_string" title="$select_string() :: "><span class="description"></span><pre>$select_string</pre></a></li>
<li class="property protected "><a href="#property_set_array_keys" title="$set_array_keys() :: "><span class="description"></span><pre>$set_array_keys</pre></a></li>
<li class="property protected "><a href="#property_set_string" title="$set_string() :: "><span class="description"></span><pre>$set_string</pre></a></li>
<li class="property protected "><a href="#property_values" title="$values() :: "><span class="description"></span><pre>$values</pre></a></li>
<li class="property protected "><a href="#property_where_values" title="$where_values() :: "><span class="description"></span><pre>$where_values</pre></a></li>
<li class="property protected "><a href="#property_explain" title="$explain() :: Whether to do only an explain on the query"><span class="description"></span><pre>$explain</pre></a></li>
<li class="property protected "><a href="#property_from_string" title="$from_string() :: Compiled 'from' clause"><span class="description"></span><pre>$from_string</pre></a></li>
<li class="property protected "><a href="#property_group_array" title="$group_array() :: Key/val pairs for group by clause"><span class="description"></span><pre>$group_array</pre></a></li>
<li class="property protected "><a href="#property_group_string" title="$group_string() :: Group by clause"><span class="description"></span><pre>$group_string</pre></a></li>
<li class="property protected "><a href="#property_having_map" title="$having_map() :: Map for having clause"><span class="description"></span><pre>$having_map</pre></a></li>
<li class="property protected "><a href="#property_limit" title="$limit() :: Value for limit string"><span class="description"></span><pre>$limit</pre></a></li>
<li class="property protected "><a href="#property_offset" title="$offset() :: Value for offset in limit string"><span class="description"></span><pre>$offset</pre></a></li>
<li class="property protected "><a href="#property_order_array" title="$order_array() :: Key/val pairs for order by clause"><span class="description"></span><pre>$order_array</pre></a></li>
<li class="property protected "><a href="#property_order_string" title="$order_string() :: Order by clause"><span class="description"></span><pre>$order_string</pre></a></li>
<li class="property protected "><a href="#property_parser" title="$parser() :: Query parser class instance"><span class="description"></span><pre>$parser</pre></a></li>
<li class="property protected "><a href="#property_query_map" title="$query_map() :: Query component order mapping
for complex select queries"><span class="description"></span><pre>$query_map</pre></a></li>
<li class="property protected "><a href="#property_select_string" title="$select_string() :: Compiled 'select' clause"><span class="description"></span><pre>$select_string</pre></a></li>
<li class="property protected "><a href="#property_set_array_keys" title="$set_array_keys() :: Keys for insert/update statement"><span class="description"></span><pre>$set_array_keys</pre></a></li>
<li class="property protected "><a href="#property_set_string" title="$set_string() :: Compiled arguments for insert / update"><span class="description"></span><pre>$set_string</pre></a></li>
<li class="property protected "><a href="#property_values" title="$values() :: Values to apply to prepared statements"><span class="description"></span><pre>$values</pre></a></li>
<li class="property protected "><a href="#property_where_values" title="$where_values() :: Values to apply to where clauses in prepared statements"><span class="description"></span><pre>$where_values</pre></a></li>
</ul>
</li>
</ul>
@ -183,11 +184,11 @@ instantiates the specific db driver</p>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Query_Builder.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Query_Builder</td>
</tr>
</table>
<h3>
@ -523,7 +524,7 @@ execute current compiled query</h2>
</div></div>
</div>
<a id="method_insert_batch"></a><div class="element clickable method public method_insert_batch" data-toggle="collapse" data-target=".method_insert_batch .collapse" title="public">
<h2>Create sql for batch insert</h2>
<h2>Creates and executes a batch insertion query</h2>
<pre>insert_batch(string $table, array $data<code> = array()</code>) : <a href="PDOStatement.html">\PDOStatement</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
@ -1055,14 +1056,10 @@ passed array with key / value pairs</h2>
</div>
<a id="method__having"></a><div class="element clickable method protected method__having" data-toggle="collapse" data-target=".method__having .collapse" title="protected">
<h2>Simplify building having clauses</h2>
<pre>_having(mixed $key, mixed $val<code> = array()</code>, string $conj<code> = 'AND'</code>) : \Query_Builder</pre>
<pre>_having(mixed $key, mixed $val<code> = array()</code>, string $conj<code> = 'AND'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -1077,19 +1074,15 @@ passed array with key / value pairs</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method__like"></a><div class="element clickable method protected method__like" data-toggle="collapse" data-target=".method__like .collapse" title="protected">
<h2>Simplify 'like' methods</h2>
<pre>_like(string $field, mixed $val, string $pos, string $like<code> = 'LIKE'</code>, string $conj<code> = 'AND'</code>) : \Query_Builder</pre>
<pre>_like(string $field, mixed $val, string $pos, string $like<code> = 'LIKE'</code>, string $conj<code> = 'AND'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -1112,7 +1105,7 @@ passed array with key / value pairs</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method__run"></a><div class="element clickable method protected method__run" data-toggle="collapse" data-target=".method__run .collapse" title="protected">
@ -1182,14 +1175,10 @@ passed array with key / value pairs</h2>
</div>
<a id="method__where_in"></a><div class="element clickable method protected method__where_in" data-toggle="collapse" data-target=".method__where_in .collapse" title="protected">
<h2>Simplify where_in methods</h2>
<pre>_where_in(mixed $key, mixed $val<code> = array()</code>, string $in<code> = 'IN'</code>, string $conj<code> = 'AND'</code>) : \Query_Builder</pre>
<pre>_where_in(mixed $key, mixed $val<code> = array()</code>, string $in<code> = 'IN'</code>, string $conj<code> = 'AND'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -1210,19 +1199,15 @@ passed array with key / value pairs</h2>
<li>The where in conjunction</li>
</ul></div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method__where_string"></a><div class="element clickable method protected method__where_string" data-toggle="collapse" data-target=".method__where_string .collapse" title="protected">
<h2>Simplify generating where string</h2>
<pre>_where_string(mixed $key, mixed $val<code> = array()</code>, string $conj<code> = 'AND'</code>) : \Query_Builder</pre>
<pre>_where_string(mixed $key, mixed $val<code> = array()</code>, string $conj<code> = 'AND'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -1237,14 +1222,14 @@ passed array with key / value pairs</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<h3>
<i title="Properties" class="icon-custom icon-property"></i> Properties</h3>
<a id="property_conn_name"> </a><div class="element clickable property public property_conn_name" data-toggle="collapse" data-target=".property_conn_name .collapse" title="public">
<h2>$conn_name</h2>
<pre>$conn_name </pre>
<h2>Convenience property for connection management</h2>
<pre>$conn_name : string</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>""</code></div>
@ -1253,8 +1238,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_db"> </a><div class="element clickable property public property_db" data-toggle="collapse" data-target=".property_db .collapse" title="public">
<h2>$db</h2>
<pre>$db </pre>
<h2>The current database driver</h2>
<pre>$db : <a href="../classes/Driver_Interface.html">\Driver_Interface</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1263,8 +1248,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_queries"> </a><div class="element clickable property public property_queries" data-toggle="collapse" data-target=".property_queries .collapse" title="public">
<h2>$queries</h2>
<pre>$queries </pre>
<h2>List of queries executed</h2>
<pre>$queries : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1273,8 +1258,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_sql"> </a><div class="element clickable property public property_sql" data-toggle="collapse" data-target=".property_sql .collapse" title="public">
<h2>$sql</h2>
<pre>$sql </pre>
<h2>Alias to $this-&gt;db-&gt;sql</h2>
<pre>$sql : <a href="../classes/SQL_Interface.html">\SQL_Interface</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1283,8 +1268,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_util"> </a><div class="element clickable property public property_util" data-toggle="collapse" data-target=".property_util .collapse" title="public">
<h2>$util</h2>
<pre>$util </pre>
<h2>Alias to $this-&gt;db-&gt;util</h2>
<pre>$util : <a href="../classes/DB_Util.html">\DB_Util</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1293,8 +1278,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_explain"> </a><div class="element clickable property protected property_explain" data-toggle="collapse" data-target=".property_explain .collapse" title="protected">
<h2>$explain</h2>
<pre>$explain </pre>
<h2>Whether to do only an explain on the query</h2>
<pre>$explain : bool</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1303,8 +1288,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_from_string"> </a><div class="element clickable property protected property_from_string" data-toggle="collapse" data-target=".property_from_string .collapse" title="protected">
<h2>$from_string</h2>
<pre>$from_string </pre>
<h2>Compiled 'from' clause</h2>
<pre>$from_string : <a href="type.html">\type</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1313,8 +1298,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_group_array"> </a><div class="element clickable property protected property_group_array" data-toggle="collapse" data-target=".property_group_array .collapse" title="protected">
<h2>$group_array</h2>
<pre>$group_array </pre>
<h2>Key/val pairs for group by clause</h2>
<pre>$group_array : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
@ -1323,8 +1308,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_group_string"> </a><div class="element clickable property protected property_group_string" data-toggle="collapse" data-target=".property_group_string .collapse" title="protected">
<h2>$group_string</h2>
<pre>$group_string </pre>
<h2>Group by clause</h2>
<pre>$group_string : string</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1333,8 +1318,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_having_map"> </a><div class="element clickable property protected property_having_map" data-toggle="collapse" data-target=".property_having_map .collapse" title="protected">
<h2>$having_map</h2>
<pre>$having_map </pre>
<h2>Map for having clause</h2>
<pre>$having_map : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1343,8 +1328,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_limit"> </a><div class="element clickable property protected property_limit" data-toggle="collapse" data-target=".property_limit .collapse" title="protected">
<h2>$limit</h2>
<pre>$limit </pre>
<h2>Value for limit string</h2>
<pre>$limit : <a href="type.html">\type</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1353,8 +1338,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_offset"> </a><div class="element clickable property protected property_offset" data-toggle="collapse" data-target=".property_offset .collapse" title="protected">
<h2>$offset</h2>
<pre>$offset </pre>
<h2>Value for offset in limit string</h2>
<pre>$offset : int</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1363,8 +1348,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_order_array"> </a><div class="element clickable property protected property_order_array" data-toggle="collapse" data-target=".property_order_array .collapse" title="protected">
<h2>$order_array</h2>
<pre>$order_array </pre>
<h2>Key/val pairs for order by clause</h2>
<pre>$order_array : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
@ -1373,8 +1358,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_order_string"> </a><div class="element clickable property protected property_order_string" data-toggle="collapse" data-target=".property_order_string .collapse" title="protected">
<h2>$order_string</h2>
<pre>$order_string </pre>
<h2>Order by clause</h2>
<pre>$order_string : string</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1383,8 +1368,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_parser"> </a><div class="element clickable property protected property_parser" data-toggle="collapse" data-target=".property_parser .collapse" title="protected">
<h2>$parser</h2>
<pre>$parser </pre>
<h2>Query parser class instance</h2>
<pre>$parser : <a href="../classes/Query_Parser.html">\Query_Parser</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1393,18 +1378,24 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_query_map"> </a><div class="element clickable property protected property_query_map" data-toggle="collapse" data-target=".property_query_map .collapse" title="protected">
<h2>$query_map</h2>
<pre>$query_map </pre>
<h2>Query component order mapping
for complex select queries</h2>
<pre>$query_map : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
</div></div>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
<div class="row collapse"><div class="detail-description"><div class="long_description">Format:
array(
'type' => 'where',
'conjunction' => ' AND ',
'string' => 'k=?'
)</div></div></div>
</div>
<a id="property_select_string"> </a><div class="element clickable property protected property_select_string" data-toggle="collapse" data-target=".property_select_string .collapse" title="protected">
<h2>$select_string</h2>
<pre>$select_string </pre>
<h2>Compiled 'select' clause</h2>
<pre>$select_string : <a href="type.html">\type</a></pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>''</code></div>
@ -1413,8 +1404,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_set_array_keys"> </a><div class="element clickable property protected property_set_array_keys" data-toggle="collapse" data-target=".property_set_array_keys .collapse" title="protected">
<h2>$set_array_keys</h2>
<pre>$set_array_keys </pre>
<h2>Keys for insert/update statement</h2>
<pre>$set_array_keys : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
@ -1423,8 +1414,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_set_string"> </a><div class="element clickable property protected property_set_string" data-toggle="collapse" data-target=".property_set_string .collapse" title="protected">
<h2>$set_string</h2>
<pre>$set_string </pre>
<h2>Compiled arguments for insert / update</h2>
<pre>$set_string : string</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"></div>
@ -1433,8 +1424,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_values"> </a><div class="element clickable property protected property_values" data-toggle="collapse" data-target=".property_values .collapse" title="protected">
<h2>$values</h2>
<pre>$values </pre>
<h2>Values to apply to prepared statements</h2>
<pre>$values : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
@ -1443,8 +1434,8 @@ passed array with key / value pairs</h2>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_where_values"> </a><div class="element clickable property protected property_where_values" data-toggle="collapse" data-target=".property_where_values .collapse" title="protected">
<h2>$where_values</h2>
<pre>$where_values </pre>
<h2>Values to apply to where clauses in prepared statements</h2>
<pre>$where_values : array</pre>
<div class="row collapse"><div class="detail-description">
<h3>Default</h3>
<div class="subelement argument"><code>array()</code></div>
@ -1460,7 +1451,7 @@ passed array with key / value pairs</h2>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -133,11 +133,11 @@ passed array with key / value pairs</span><pre>where()</pre></a></li>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Query_Builder.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Query_Builder</td>
</tr>
</table>
<h3>
@ -194,49 +194,37 @@ in place of the get() method</h2>
</div>
<a id="method_distinct"></a><div class="element clickable method public method_distinct" data-toggle="collapse" data-target=".method_distinct .collapse" title="public">
<h2>Adds the 'distinct' keyword to a query</h2>
<pre>distinct() : \Query_Builder_Interface</pre>
<pre>distinct() : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_explain"></a><div class="element clickable method public method_explain" data-toggle="collapse" data-target=".method_explain .collapse" title="public">
<h2>Shows the query plan for the query</h2>
<pre>explain() : \Query_Builder_Interface</pre>
<pre>explain() : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_from"></a><div class="element clickable method public method_from" data-toggle="collapse" data-target=".method_from .collapse" title="public">
<h2>Specify the database table to select from</h2>
<pre>from(string $tblname) : \Query_Builder_Interface</pre>
<pre>from(string $tblname) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$tblname</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_get"></a><div class="element clickable method public method_get" data-toggle="collapse" data-target=".method_get .collapse" title="public">
@ -365,61 +353,45 @@ execute current compiled query</h2>
</div>
<a id="method_group_by"></a><div class="element clickable method public method_group_by" data-toggle="collapse" data-target=".method_group_by .collapse" title="public">
<h2>Group the results by the selected field(s)</h2>
<pre>group_by(mixed $field) : \Query_Builder_Interface</pre>
<pre>group_by(mixed $field) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_group_end"></a><div class="element clickable method public method_group_end" data-toggle="collapse" data-target=".method_group_end .collapse" title="public">
<h2>Ends a query group</h2>
<pre>group_end() : \Query_Builder_Interface</pre>
<pre>group_end() : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_group_start"></a><div class="element clickable method public method_group_start" data-toggle="collapse" data-target=".method_group_start .collapse" title="public">
<h2>Adds a paren to the current query for query grouping</h2>
<pre>group_start() : \Query_Builder_Interface</pre>
<pre>group_start() : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_having"></a><div class="element clickable method public method_having" data-toggle="collapse" data-target=".method_having .collapse" title="public">
<h2>Generates a 'Having' clause</h2>
<pre>having(mixed $key, mixed $val<code> = array()</code>) : \Query_Builder_Interface</pre>
<pre>having(mixed $key, mixed $val<code> = array()</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -430,7 +402,7 @@ execute current compiled query</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_insert"></a><div class="element clickable method public method_insert" data-toggle="collapse" data-target=".method_insert .collapse" title="public">
@ -473,14 +445,10 @@ execute current compiled query</h2>
</div>
<a id="method_join"></a><div class="element clickable method public method_join" data-toggle="collapse" data-target=".method_join .collapse" title="public">
<h2>Creates a join phrase in a compiled query</h2>
<pre>join(string $table, string $condition, string $type<code> = ''</code>) : \Query_Builder_Interface</pre>
<pre>join(string $table, string $condition, string $type<code> = ''</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$table</h4>
@ -495,19 +463,15 @@ execute current compiled query</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_like"></a><div class="element clickable method public method_like" data-toggle="collapse" data-target=".method_like .collapse" title="public">
<h2>Creates a Like clause in the sql statement</h2>
<pre>like(string $field, mixed $val, string $pos<code> = 'both'</code>) : \Query_Builder_Interface</pre>
<pre>like(string $field, mixed $val, string $pos<code> = 'both'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -522,7 +486,7 @@ execute current compiled query</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_limit"></a><div class="element clickable method public method_limit" data-toggle="collapse" data-target=".method_limit .collapse" title="public">
@ -546,14 +510,10 @@ execute current compiled query</h2>
</div>
<a id="method_not_like"></a><div class="element clickable method public method_not_like" data-toggle="collapse" data-target=".method_not_like .collapse" title="public">
<h2>Generates a NOT LIKE clause</h2>
<pre>not_like(string $field, mixed $val, string $pos<code> = 'both'</code>) : \Query_Builder_Interface</pre>
<pre>not_like(string $field, mixed $val, string $pos<code> = 'both'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -568,34 +528,26 @@ execute current compiled query</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_group_start"></a><div class="element clickable method public method_or_group_start" data-toggle="collapse" data-target=".method_or_group_start .collapse" title="public">
<h2>Adds a paren to the current query for query grouping,
prefixed with 'OR'</h2>
<pre>or_group_start() : \Query_Builder_Interface</pre>
<pre>or_group_start() : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_having"></a><div class="element clickable method public method_or_having" data-toggle="collapse" data-target=".method_or_having .collapse" title="public">
<h2>Generates a 'Having' clause prefixed with 'OR'</h2>
<pre>or_having(mixed $key, mixed $val<code> = array()</code>) : \Query_Builder_Interface</pre>
<pre>or_having(mixed $key, mixed $val<code> = array()</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -606,19 +558,15 @@ prefixed with 'OR'</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_like"></a><div class="element clickable method public method_or_like" data-toggle="collapse" data-target=".method_or_like .collapse" title="public">
<h2>Generates an OR Like clause</h2>
<pre>or_like(string $field, mixed $val, string $pos<code> = 'both'</code>) : \Query_Builder_Interface</pre>
<pre>or_like(string $field, mixed $val, string $pos<code> = 'both'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -633,34 +581,26 @@ prefixed with 'OR'</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_not_group_start"></a><div class="element clickable method public method_or_not_group_start" data-toggle="collapse" data-target=".method_or_not_group_start .collapse" title="public">
<h2>Adds a paren to the current query for query grouping,
prefixed with 'OR NOT'</h2>
<pre>or_not_group_start() : \Query_Builder_Interface</pre>
<pre>or_not_group_start() : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_not_like"></a><div class="element clickable method public method_or_not_like" data-toggle="collapse" data-target=".method_or_not_like .collapse" title="public">
<h2>Generates a OR NOT LIKE clause</h2>
<pre>or_not_like(string $field, mixed $val, string $pos<code> = 'both'</code>) : \Query_Builder_Interface</pre>
<pre>or_not_like(string $field, mixed $val, string $pos<code> = 'both'</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -675,19 +615,15 @@ prefixed with 'OR NOT'</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_where"></a><div class="element clickable method public method_or_where" data-toggle="collapse" data-target=".method_or_where .collapse" title="public">
<h2>Where clause prefixed with "OR"</h2>
<pre>or_where(string $key, mixed $val<code> = array()</code>) : \Query_Builder_Interface</pre>
<pre>or_where(string $key, mixed $val<code> = array()</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -698,19 +634,15 @@ prefixed with 'OR NOT'</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_where_in"></a><div class="element clickable method public method_or_where_in" data-toggle="collapse" data-target=".method_or_where_in .collapse" title="public">
<h2>Where in statement prefixed with "or"</h2>
<pre>or_where_in(string $field, mixed $val<code> = array()</code>) : \Query_Builder_Interface</pre>
<pre>or_where_in(string $field, mixed $val<code> = array()</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -721,19 +653,15 @@ prefixed with 'OR NOT'</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_or_where_not_in"></a><div class="element clickable method public method_or_where_not_in" data-toggle="collapse" data-target=".method_or_where_not_in .collapse" title="public">
<h2>OR WHERE NOT IN (FOO) clause</h2>
<pre>or_where_not_in(string $field, mixed $val<code> = array()</code>) : \Query_Builder_Interface</pre>
<pre>or_where_not_in(string $field, mixed $val<code> = array()</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -744,19 +672,15 @@ prefixed with 'OR NOT'</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_order_by"></a><div class="element clickable method public method_order_by" data-toggle="collapse" data-target=".method_order_by .collapse" title="public">
<h2>Order the results by the selected field(s)</h2>
<pre>order_by(string $field, string $type<code> = ""</code>) : \Query_Builder_Interface</pre>
<pre>order_by(string $field, string $type<code> = ""</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -767,7 +691,7 @@ prefixed with 'OR NOT'</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_reset_query"></a><div class="element clickable method public method_reset_query" data-toggle="collapse" data-target=".method_reset_query .collapse" title="public">
@ -778,33 +702,25 @@ prefixed with 'OR NOT'</h2>
</div>
<a id="method_select"></a><div class="element clickable method public method_select" data-toggle="collapse" data-target=".method_select .collapse" title="public">
<h2>Specifies rows to select in a query</h2>
<pre>select(string $fields) : \Query_Builder_Interface</pre>
<pre>select(string $fields) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$fields</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_select_avg"></a><div class="element clickable method public method_select_avg" data-toggle="collapse" data-target=".method_select_avg .collapse" title="public">
<h2>Selects the average value of a field from a query</h2>
<pre>select_avg(string $field, string $as<code> = FALSE</code>) : \Query_Builder_Interface</pre>
<pre>select_avg(string $field, string $as<code> = FALSE</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -815,19 +731,15 @@ prefixed with 'OR NOT'</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_select_max"></a><div class="element clickable method public method_select_max" data-toggle="collapse" data-target=".method_select_max .collapse" title="public">
<h2>Selects the maximum value of a field from a query</h2>
<pre>select_max(string $field, string $as<code> = FALSE</code>) : \Query_Builder_Interface</pre>
<pre>select_max(string $field, string $as<code> = FALSE</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -838,19 +750,15 @@ prefixed with 'OR NOT'</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_select_min"></a><div class="element clickable method public method_select_min" data-toggle="collapse" data-target=".method_select_min .collapse" title="public">
<h2>Selects the minimum value of a field from a query</h2>
<pre>select_min(string $field, string $as<code> = FALSE</code>) : \Query_Builder_Interface</pre>
<pre>select_min(string $field, string $as<code> = FALSE</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -861,19 +769,15 @@ prefixed with 'OR NOT'</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_select_sum"></a><div class="element clickable method public method_select_sum" data-toggle="collapse" data-target=".method_select_sum .collapse" title="public">
<h2>Selects the sum of a field from a query</h2>
<pre>select_sum(string $field, string $as<code> = FALSE</code>) : \Query_Builder_Interface</pre>
<pre>select_sum(string $field, string $as<code> = FALSE</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -884,19 +788,15 @@ prefixed with 'OR NOT'</h2>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_set"></a><div class="element clickable method public method_set" data-toggle="collapse" data-target=".method_set .collapse" title="public">
<h2>Sets values for inserts / updates / deletes</h2>
<pre>set(mixed $key, mixed $val<code> = NULL</code>) : \Query_Builder_Interface</pre>
<pre>set(mixed $key, mixed $val<code> = NULL</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -907,7 +807,7 @@ prefixed with 'OR NOT'</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_update"></a><div class="element clickable method public method_update" data-toggle="collapse" data-target=".method_update .collapse" title="public">
@ -933,14 +833,10 @@ prefixed with 'OR NOT'</h2>
<h2>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</h2>
<pre>where(mixed $key, mixed $val<code> = array()</code>, bool $escape<code> = NULL</code>) : \Query_Builder_Interface</pre>
<pre>where(mixed $key, mixed $val<code> = array()</code>, bool $escape<code> = NULL</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$key</h4>
@ -955,19 +851,15 @@ passed array with key / value pairs</h2>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_where_in"></a><div class="element clickable method public method_where_in" data-toggle="collapse" data-target=".method_where_in .collapse" title="public">
<h2>Where clause with 'IN' statement</h2>
<pre>where_in(mixed $field, mixed $val<code> = array()</code>) : \Query_Builder_Interface</pre>
<pre>where_in(mixed $field, mixed $val<code> = array()</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -978,19 +870,15 @@ passed array with key / value pairs</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="method_where_not_in"></a><div class="element clickable method public method_where_not_in" data-toggle="collapse" data-target=".method_where_not_in .collapse" title="public">
<h2>WHERE NOT IN (FOO) clause</h2>
<pre>where_not_in(string $field, mixed $val<code> = array()</code>) : \Query_Builder_Interface</pre>
<pre>where_not_in(string $field, mixed $val<code> = array()</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>fluent</th>
<td>This method is part of a fluent interface and will return the same instance</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$field</h4>
@ -1001,7 +889,7 @@ passed array with key / value pairs</h2>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\Query_Builder_Interface</code></div>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
</div>
@ -1012,7 +900,7 @@ passed array with key / value pairs</h2>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -93,11 +93,11 @@
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Query_Builder.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Query_Builder</td>
</tr>
</table>
<h3>
@ -173,7 +173,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -94,11 +94,11 @@ specified table</span><pre>column_list()</pre></a></li>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Query.html">Query</a></td>
<td><a href="../packages/Query.Drivers.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Query</td>
<td>Drivers</td>
</tr>
</table>
<h3>
@ -273,7 +273,7 @@ specified table</h2>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -199,7 +199,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -238,7 +238,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -209,7 +209,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -0,0 +1,122 @@
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » \Table_Builder_Interface</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/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"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<div class="btn-toolbar">
<div class="btn-group visibility" data-toggle="buttons-checkbox">
<button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button>
</div>
<div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
</div>
<ul class="side-nav nav nav-list"><li class="nav-header">
<i title="Methods" class="icon-custom icon-method"></i> Methods
<ul><li class="method public "><a href="#method___construct" title="__construct() :: Constructor"><span class="description">Constructor</span><pre>__construct()</pre></a></li></ul>
</li></ul>
</div>
<div class="span8">
<a id="\Table_Builder_Interface"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i title="Classes" class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li class="active">
<span class="divider">\</span><a href="../classes/Table_Builder_Interface.html">Table_Builder_Interface</a>
</li>
</ul>
<div class="element interface">
<p class="short_description">Abstract class defining database / table creation methods</p>
<div class="details">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>package</th>
<td><a href="../packages/Query.Table_Builder.html">Query</a></td>
</tr>
<tr>
<th>subpackage</th>
<td>Table_Builder</td>
</tr>
</table>
<h3>
<i title="Methods" class="icon-custom icon-method"></i> Methods</h3>
<a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse" title="public">
<h2>Constructor</h2>
<pre>__construct(string $name, array $options<code> = array()</code>, \Abstract_Driver $driver<code> = null</code>) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$options</h4>
<code>array</code>
</div>
<div class="subelement argument">
<h4>$driver</h4>
<code><a href="../classes/Abstract_Driver.html">\Abstract_Driver</a></code>
</div>
</div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -66,7 +66,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -87,13 +87,14 @@
<div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"></div>
<div class="package-contents"></div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -63,7 +63,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -102,7 +102,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -69,34 +69,35 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<li class="function "><a href="#function_query_autoload" title="query_autoload() :: Load query classes"><span class="description">Load query classes</span><pre>query_autoload</pre></a></li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#Driver_Interface" title="PDO Interface to implement for database drivers">Driver_Interface</a></li>
<li><a href="#SQL_Interface" title="parent for database manipulation subclasses">SQL_Interface</a></li>
<li><a href="#Query_Builder_Interface" title="Interface defining the Query Builder class">Query_Builder_Interface</a></li>
<li><a href="#Driver_Interface" title="PDO Interface to implement for database drivers">Driver_Interface</a></li>
<li><a href="#Table_Builder_Interface" title="Abstract class defining database / table creation methods">Table_Builder_Interface</a></li>
<li class="nav-header">
<i title="Classes" class="icon-custom icon-class"></i> Classes</li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
<li><a href="#Abstract_Driver" title="Base Database class">Abstract_Driver</a></li>
<li><a href="#Abstract_SQL" title="parent for database manipulation subclasses">Abstract_SQL</a></li>
<li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods">Firebird_Result</a></li>
<li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</a></li>
<li><a href="#Query_Builder" title="Convienience class for creating sql queries - also the class that
instantiates the specific db driver">Query_Builder</a></li>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#MySQL_Util" title="MySQL-specific backup, import and creation methods">MySQL_Util</a></li>
<li><a href="#Abstract_Driver" title="Base Database class">Abstract_Driver</a></li>
<li><a href="#BadDBDriverException" title="Generic exception for bad drivers">BadDBDriverException</a></li>
<li><a href="#Connection_Manager" title="Connection manager class to manage connections for the
Query method">Connection_Manager</a></li>
<li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#SQLite" title="SQLite specific class">SQLite</a></li>
<li><a href="#SQLite_SQL" title="SQLite Specific SQL">SQLite_SQL</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods">Firebird_Result</a></li>
<li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</a></li>
<li><a href="#Abstract_SQL" title="parent for database manipulation subclasses">Abstract_SQL</a></li>
<li><a href="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
<li><a href="#MySQL" title="MySQL specific class">MySQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#MySQL_Util" title="MySQL-specific backup, import and creation methods">MySQL_Util</a></li>
<li class="nav-header">
<i title="Constants" class="icon-custom icon-constant"></i> Constants</li>
<li class="constant "><a href="#constant_QBASE_PATH" title="QBASE_PATH() :: Reference to root path"><span class="description">Reference to root path</span><pre>QBASE_PATH</pre></a></li>
@ -109,7 +110,7 @@ data-fetching methods">Firebird_Result</a></li>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -66,7 +66,7 @@
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -0,0 +1,240 @@
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » Query\Core</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/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"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-map-marker"></i> Packages</li>
<li>
<a href="../packages/Query.Core.html" title="Core"><i class="icon-folder-open"></i>Core</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li class="nav-header">
<i title="Functions" class="icon-custom icon-function"></i> Functions</li>
<li class="function "><a href="#function_Query" title="Query() :: Connection function"><span class="description">Connection function</span><pre>Query</pre></a></li>
<li class="function "><a href="#function_db_filter" title="db_filter() :: Filter out db rows into one array"><span class="description">Filter out db rows into one array</span><pre>db_filter</pre></a></li>
<li class="function "><a href="#function_do_include" title="do_include() :: Bulk directory loading workaround for use
with array_map and glob"><span class="description">Bulk directory loading workaround for use
with array_map and glob</span><pre>do_include</pre></a></li>
<li class="function "><a href="#function_mb_trim" title="mb_trim() :: Multibyte-safe trim function"><span class="description">Multibyte-safe trim function</span><pre>mb_trim</pre></a></li>
<li class="function "><a href="#function_query_autoload" title="query_autoload() :: Load query classes"><span class="description">Load query classes</span><pre>query_autoload</pre></a></li>
<li class="nav-header">
<i title="Classes" class="icon-custom icon-class"></i> Classes</li>
<li><a href="#BadDBDriverException" title="Generic exception for bad drivers">BadDBDriverException</a></li>
<li><a href="#Connection_Manager" title="Connection manager class to manage connections for the
Query method">Connection_Manager</a></li>
<li class="nav-header">
<i title="Constants" class="icon-custom icon-constant"></i> Constants</li>
<li class="constant "><a href="#constant_QBASE_PATH" title="QBASE_PATH() :: Reference to root path"><span class="description">Reference to root path</span><pre>QBASE_PATH</pre></a></li>
<li class="constant "><a href="#constant_QDRIVER_PATH" title="QDRIVER_PATH() :: Path to driver classes"><span class="description">Path to driver classes</span><pre>QDRIVER_PATH</pre></a></li>
</ul>
</div>
<div class="span8 package-contents">
<ul class="breadcrumb"><li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/Query.html">Query</a></li>
<li class="active">
<span class="divider">\</span><a href="../packages/Query.Core.html">Core</a>
</li>
</li></ul>
<div class="package-indent">
<h3>
<i title="Functions" class="icon-custom icon-function"></i> Functions</h3>
<a id="function_Query"></a><div class="element clickable function function_Query" data-toggle="collapse" data-target=".function_Query .collapse" title="">
<h2>Connection function</h2>
<pre>Query(mixed $params<code> = ''</code>) : <a href="../classes/Query_Builder.html">\Query_Builder</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$params</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/Query_Builder.html">\Query_Builder</a></code></div>
</div></div>
</div>
<a id="function_db_filter"></a><div class="element clickable function function_db_filter" data-toggle="collapse" data-target=".function_db_filter .collapse" title="">
<h2>Filter out db rows into one array</h2>
<pre>db_filter(array $array, mixed $index) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$array</h4>
<code>array</code>
</div>
<div class="subelement argument">
<h4>$index</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a id="function_do_include"></a><div class="element clickable function function_do_include" data-toggle="collapse" data-target=".function_do_include .collapse" title="">
<h2>Bulk directory loading workaround for use
with array_map and glob</h2>
<pre>do_include(string $path) : void</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$path</h4>
<code>string</code>
</div>
</div></div>
</div>
<a id="function_mb_trim"></a><div class="element clickable function function_mb_trim" data-toggle="collapse" data-target=".function_mb_trim .collapse" title="">
<h2>Multibyte-safe trim function</h2>
<pre>mb_trim(string $string) : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$string</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="function_query_autoload"></a><div class="element clickable function function_query_autoload" data-toggle="collapse" data-target=".function_query_autoload .collapse" title="">
<h2>Load query classes</h2>
<pre>query_autoload(string $class) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$class</h4>
<code>string</code>
</div>
</div></div>
</div>
<h3>
<i title="Classes" class="icon-custom icon-class"></i> Classes and interfaces</h3>
<div id="BadDBDriverException" class="element ajax clickable class">
<h1>BadDBDriverException<a href="../classes/BadDBDriverException.html"></a>
</h1>
<p class="short_description">Generic exception for bad drivers</p>
<div class="details collapse"></div>
<a href="../classes/BadDBDriverException.html" class="more">« More »</a>
</div>
<div id="Connection_Manager" class="element ajax clickable class">
<h1>Connection_Manager<a href="../classes/Connection_Manager.html"></a>
</h1>
<p class="short_description">Connection manager class to manage connections for the
Query method</p>
<div class="details collapse"></div>
<a href="../classes/Connection_Manager.html" class="more">« More »</a>
</div>
<h3>
<i title="Constants" class="icon-custom icon-constant"></i> Constants</h3>
<a id="constant_QBASE_PATH"> </a><div class="element clickable constant constant_QBASE_PATH" data-toggle="collapse" data-target=".constant_QBASE_PATH .collapse" title="">
<h2>Reference to root path</h2>
<pre>QBASE_PATH = dirname(__FILE__) . '/' </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
</div></div>
</div>
<a id="constant_QDRIVER_PATH"> </a><div class="element clickable constant constant_QDRIVER_PATH" data-toggle="collapse" data-target=".constant_QDRIVER_PATH .collapse" title="">
<h2>Path to driver classes</h2>
<pre>QDRIVER_PATH = QBASE_PATH . 'drivers/' </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
</div></div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -59,21 +59,28 @@
<a href="../packages/Query.Drivers.html" title="Drivers"><i class="icon-folder-open"></i>Drivers</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#SQL_Interface" title="parent for database manipulation subclasses">SQL_Interface</a></li>
<li><a href="#Driver_Interface" title="PDO Interface to implement for database drivers">Driver_Interface</a></li>
<li class="nav-header">
<i title="Classes" class="icon-custom icon-class"></i> Classes</li>
<li><a href="#SQLite" title="SQLite specific class">SQLite</a></li>
<li><a href="#SQLite_SQL" title="SQLite Specific SQL">SQLite_SQL</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#Firebird_Result" title="Firebird result class to emulate PDOStatement Class - only implements
data-fetching methods">Firebird_Result</a></li>
<li><a href="#Firebird_Util" title="Firebird-specific backup, import and creation methods">Firebird_Util</a></li>
<li><a href="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#MySQL" title="MySQL specific class">MySQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#Firebird" title="Firebird Database class">Firebird</a></li>
<li><a href="#MySQL_Util" title="MySQL-specific backup, import and creation methods">MySQL_Util</a></li>
<li><a href="#Abstract_Driver" title="Base Database class">Abstract_Driver</a></li>
<li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</a></li>
<li><a href="#SQLite_Util" title="SQLite-specific backup, import and creation methods">SQLite_Util</a></li>
<li><a href="#PgSQL_Util" title="Posgres-specific backup, import and creation methods">PgSQL_Util</a></li>
<li><a href="#PgSQL_SQL" title="PostgreSQL specifc SQL">PgSQL_SQL</a></li>
<li><a href="#MySQL_SQL" title="MySQL specifc SQL">MySQL_SQL</a></li>
<li><a href="#Firebird_SQL" title="Firebird Specific SQL">Firebird_SQL</a></li>
<li><a href="#SQLite" title="SQLite specific class">SQLite</a></li>
<li><a href="#SQLite_SQL" title="SQLite Specific SQL">SQLite_SQL</a></li>
<li><a href="#Abstract_SQL" title="parent for database manipulation subclasses">Abstract_SQL</a></li>
<li><a href="#PgSQL" title="PostgreSQL specifc class">PgSQL</a></li>
<li><a href="#MySQL" title="MySQL specific class">MySQL</a></li>
</ul>
</div>
<div class="span8 package-contents">
@ -86,6 +93,41 @@ data-fetching methods">Firebird_Result</a></li>
<div class="package-indent">
<h3>
<i title="Classes" class="icon-custom icon-class"></i> Classes and interfaces</h3>
<div id="Driver_Interface" class="element ajax clickable interface">
<h1>Driver_Interface<a href="../classes/Driver_Interface.html"></a>
</h1>
<p class="short_description">PDO Interface to implement for database drivers</p>
<div class="details collapse"></div>
<a href="../classes/Driver_Interface.html" class="more">« More »</a>
</div>
<div id="SQL_Interface" class="element ajax clickable interface">
<h1>SQL_Interface<a href="../classes/SQL_Interface.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/SQL_Interface.html" class="more">« More »</a>
</div>
<div id="Abstract_Driver" class="element ajax clickable class">
<h1>Abstract_Driver<a href="../classes/Abstract_Driver.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_Driver.html" class="more">« More »</a>
</div>
<div id="Abstract_SQL" class="element ajax clickable class">
<h1>Abstract_SQL<a href="../classes/Abstract_SQL.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_SQL.html" class="more">« More »</a>
</div>
<div id="DB_Util" class="element ajax clickable class">
<h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1>
<p class="short_description">Abstract class defining database / table creation methods</p>
<div class="details collapse"></div>
<a href="../classes/DB_Util.html" class="more">« More »</a>
</div>
<div id="Firebird" class="element ajax clickable class">
<h1>Firebird<a href="../classes/Firebird.html"></a>
</h1>
@ -185,7 +227,7 @@ data-fetching methods</p>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -3,7 +3,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » Query\Query</title>
<title>Query » Query\Query_Builder</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
@ -56,30 +56,23 @@
<li class="nav-header">
<i class="icon-map-marker"></i> Packages</li>
<li>
<a href="../packages/Query.Query.html" title="Query"><i class="icon-folder-open"></i>Query</a><ul class="nav nav-list nav-packages"></ul>
<a href="../packages/Query.Query_Builder.html" title="Query_Builder"><i class="icon-folder-open"></i>Query_Builder</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#SQL_Interface" title="parent for database manipulation subclasses">SQL_Interface</a></li>
<li><a href="#Query_Builder_Interface" title="Interface defining the Query Builder class">Query_Builder_Interface</a></li>
<li class="nav-header">
<i title="Classes" class="icon-custom icon-class"></i> Classes</li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
<li><a href="#Abstract_Driver" title="Base Database class">Abstract_Driver</a></li>
<li><a href="#Abstract_SQL" title="parent for database manipulation subclasses">Abstract_SQL</a></li>
<li><a href="#Query_Builder" title="Convienience class for creating sql queries - also the class that
instantiates the specific db driver">Query_Builder</a></li>
<li><a href="#BadDBDriverException" title="Generic exception for bad drivers">BadDBDriverException</a></li>
<li><a href="#Connection_Manager" title="Connection manager class to manage connections for the
Query method">Connection_Manager</a></li>
<li><a href="#DB_Util" title="Abstract class defining database / table creation methods">DB_Util</a></li>
<li><a href="#Query_Parser" title="Utility Class to parse sql clauses for properly escaping identifiers">Query_Parser</a></li>
</ul>
</div>
<div class="span8 package-contents">
<ul class="breadcrumb"><li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/Query.html">Query</a></li>
<li class="active">
<span class="divider">\</span><a href="../packages/Query.Query.html">Query</a>
<span class="divider">\</span><a href="../packages/Query.Query_Builder.html">Query_Builder</a>
</li>
</li></ul>
<div class="package-indent">
@ -92,49 +85,6 @@ Query method">Connection_Manager</a></li>
<div class="details collapse"></div>
<a href="../classes/Query_Builder_Interface.html" class="more">« More »</a>
</div>
<div id="SQL_Interface" class="element ajax clickable interface">
<h1>SQL_Interface<a href="../classes/SQL_Interface.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/SQL_Interface.html" class="more">« More »</a>
</div>
<div id="Abstract_Driver" class="element ajax clickable class">
<h1>Abstract_Driver<a href="../classes/Abstract_Driver.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_Driver.html" class="more">« More »</a>
</div>
<div id="Abstract_SQL" class="element ajax clickable class">
<h1>Abstract_SQL<a href="../classes/Abstract_SQL.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_SQL.html" class="more">« More »</a>
</div>
<div id="BadDBDriverException" class="element ajax clickable class">
<h1>BadDBDriverException<a href="../classes/BadDBDriverException.html"></a>
</h1>
<p class="short_description">Generic exception for bad drivers</p>
<div class="details collapse"></div>
<a href="../classes/BadDBDriverException.html" class="more">« More »</a>
</div>
<div id="Connection_Manager" class="element ajax clickable class">
<h1>Connection_Manager<a href="../classes/Connection_Manager.html"></a>
</h1>
<p class="short_description">Connection manager class to manage connections for the
Query method</p>
<div class="details collapse"></div>
<a href="../classes/Connection_Manager.html" class="more">« More »</a>
</div>
<div id="DB_Util" class="element ajax clickable class">
<h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1>
<p class="short_description">Abstract class defining database / table creation methods</p>
<div class="details collapse"></div>
<a href="../classes/DB_Util.html" class="more">« More »</a>
</div>
<div id="Query_Builder" class="element ajax clickable class">
<h1>Query_Builder<a href="../classes/Query_Builder.html"></a>
</h1>
@ -157,7 +107,7 @@ instantiates the specific db driver</p>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -0,0 +1,93 @@
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Query » Query\Table_Builder</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/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"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Query</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Query.html"><i class="icon-folder-open"></i> Query</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-map-marker"></i> Packages</li>
<li>
<a href="../packages/Query.Table_Builder.html" title="Table_Builder"><i class="icon-folder-open"></i>Table_Builder</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#Table_Builder_Interface" title="Abstract class defining database / table creation methods">Table_Builder_Interface</a></li>
</ul>
</div>
<div class="span8 package-contents">
<ul class="breadcrumb"><li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/Query.html">Query</a></li>
<li class="active">
<span class="divider">\</span><a href="../packages/Query.Table_Builder.html">Table_Builder</a>
</li>
</li></ul>
<div class="package-indent">
<h3>
<i title="Classes" class="icon-custom icon-class"></i> Classes and interfaces</h3>
<div id="Table_Builder_Interface" class="element ajax clickable interface">
<h1>Table_Builder_Interface<a href="../classes/Table_Builder_Interface.html"></a>
</h1>
<p class="short_description">Abstract class defining database / table creation methods</p>
<div class="details collapse"></div>
<a href="../classes/Table_Builder_Interface.html" class="more">« More »</a>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

View File

@ -56,31 +56,21 @@
<li class="nav-header">
<i class="icon-map-marker"></i> Packages</li>
<li>
<a href="../packages/Query.html" title="Query"><i class="icon-folder-open"></i>Query</a><ul class="nav nav-list nav-packages">
<span class="empty-package"><i class="icon-folder-close"></i>Query</span><ul class="nav nav-list nav-packages">
<li>
<a href="../packages/Query.Core.html" title="Core"><i class="icon-folder-open"></i>Core</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li>
<a href="../packages/Query.Drivers.html" title="Drivers"><i class="icon-folder-open"></i>Drivers</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li>
<a href="../packages/Query.Query.html" title="Query"><i class="icon-folder-open"></i>Query</a><ul class="nav nav-list nav-packages"></ul>
<a href="../packages/Query.Query_Builder.html" title="Query_Builder"><i class="icon-folder-open"></i>Query_Builder</a><ul class="nav nav-list nav-packages"></ul>
</li>
<li>
<a href="../packages/Query.Table_Builder.html" title="Table_Builder"><i class="icon-folder-open"></i>Table_Builder</a><ul class="nav nav-list nav-packages"></ul>
</li>
</ul>
</li>
<li class="nav-header">
<i title="Functions" class="icon-custom icon-function"></i> Functions</li>
<li class="function "><a href="#function_Query" title="Query() :: Connection function"><span class="description">Connection function</span><pre>Query</pre></a></li>
<li class="function "><a href="#function_db_filter" title="db_filter() :: Filter out db rows into one array"><span class="description">Filter out db rows into one array</span><pre>db_filter</pre></a></li>
<li class="function "><a href="#function_do_include" title="do_include() :: Bulk directory loading workaround for use
with array_map and glob"><span class="description">Bulk directory loading workaround for use
with array_map and glob</span><pre>do_include</pre></a></li>
<li class="function "><a href="#function_mb_trim" title="mb_trim() :: Multibyte-safe trim function"><span class="description">Multibyte-safe trim function</span><pre>mb_trim</pre></a></li>
<li class="function "><a href="#function_query_autoload" title="query_autoload() :: Load query classes"><span class="description">Load query classes</span><pre>query_autoload</pre></a></li>
<li class="nav-header">
<i title="Interfaces" class="icon-custom icon-interface"></i> Interfaces</li>
<li><a href="#Driver_Interface" title="PDO Interface to implement for database drivers">Driver_Interface</a></li>
<li class="nav-header">
<i title="Constants" class="icon-custom icon-constant"></i> Constants</li>
<li class="constant "><a href="#constant_QBASE_PATH" title="QBASE_PATH() :: Reference to root path"><span class="description">Reference to root path</span><pre>QBASE_PATH</pre></a></li>
<li class="constant "><a href="#constant_QDRIVER_PATH" title="QDRIVER_PATH() :: Path to driver classes"><span class="description">Path to driver classes</span><pre>QDRIVER_PATH</pre></a></li>
</ul>
</div>
<div class="span8 package-contents">
@ -88,6 +78,13 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li class="active"><a href="../packages/Query.html">Query</a></li>
</li></ul>
<div class="package-indent">
<ul class="breadcrumb"><li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/Query.html">Query</a></li>
<li class="active">
<span class="divider">\</span><a href="../packages/Query.Core.html">Core</a>
</li>
</li></ul>
<div class="package-indent">
<h3>
<i title="Functions" class="icon-custom icon-function"></i> Functions</h3>
<a id="function_Query"></a><div class="element clickable function function_Query" data-toggle="collapse" data-target=".function_Query .collapse" title="">
@ -96,6 +93,10 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$params</h4>
@ -111,6 +112,10 @@ with array_map and glob</span><pre>do_include</pre></a></li>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$array</h4>
@ -131,6 +136,10 @@ with array_map and glob</h2>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$path</h4>
@ -144,6 +153,10 @@ with array_map and glob</h2>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$string</h4>
@ -159,6 +172,10 @@ with array_map and glob</h2>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$class</h4>
@ -168,12 +185,20 @@ with array_map and glob</h2>
</div>
<h3>
<i title="Classes" class="icon-custom icon-class"></i> Classes and interfaces</h3>
<div id="Driver_Interface" class="element ajax clickable interface">
<h1>Driver_Interface<a href="../classes/Driver_Interface.html"></a>
<div id="BadDBDriverException" class="element ajax clickable class">
<h1>BadDBDriverException<a href="../classes/BadDBDriverException.html"></a>
</h1>
<p class="short_description">PDO Interface to implement for database drivers</p>
<p class="short_description">Generic exception for bad drivers</p>
<div class="details collapse"></div>
<a href="../classes/Driver_Interface.html" class="more">« More »</a>
<a href="../classes/BadDBDriverException.html" class="more">« More »</a>
</div>
<div id="Connection_Manager" class="element ajax clickable class">
<h1>Connection_Manager<a href="../classes/Connection_Manager.html"></a>
</h1>
<p class="short_description">Connection manager class to manage connections for the
Query method</p>
<div class="details collapse"></div>
<a href="../classes/Connection_Manager.html" class="more">« More »</a>
</div>
<h3>
<i title="Constants" class="icon-custom icon-constant"></i> Constants</h3>
@ -181,13 +206,26 @@ with array_map and glob</h2>
<h2>Reference to root path</h2>
<pre>QBASE_PATH = dirname(__FILE__) . '/' </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
</div></div>
</div>
<a id="constant_QDRIVER_PATH"> </a><div class="element clickable constant constant_QDRIVER_PATH" data-toggle="collapse" data-target=".constant_QDRIVER_PATH .collapse" title="">
<h2>Path to driver classes</h2>
<pre>QDRIVER_PATH = QBASE_PATH . 'drivers/' </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>subpackage</th>
<td>Core</td>
</tr></table>
</div></div>
</div>
</div>
<ul class="breadcrumb"><li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/Query.html">Query</a></li>
@ -198,6 +236,41 @@ with array_map and glob</h2>
<div class="package-indent">
<h3>
<i title="Classes" class="icon-custom icon-class"></i> Classes and interfaces</h3>
<div id="Driver_Interface" class="element ajax clickable interface">
<h1>Driver_Interface<a href="../classes/Driver_Interface.html"></a>
</h1>
<p class="short_description">PDO Interface to implement for database drivers</p>
<div class="details collapse"></div>
<a href="../classes/Driver_Interface.html" class="more">« More »</a>
</div>
<div id="SQL_Interface" class="element ajax clickable interface">
<h1>SQL_Interface<a href="../classes/SQL_Interface.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/SQL_Interface.html" class="more">« More »</a>
</div>
<div id="Abstract_Driver" class="element ajax clickable class">
<h1>Abstract_Driver<a href="../classes/Abstract_Driver.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_Driver.html" class="more">« More »</a>
</div>
<div id="Abstract_SQL" class="element ajax clickable class">
<h1>Abstract_SQL<a href="../classes/Abstract_SQL.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_SQL.html" class="more">« More »</a>
</div>
<div id="DB_Util" class="element ajax clickable class">
<h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1>
<p class="short_description">Abstract class defining database / table creation methods</p>
<div class="details collapse"></div>
<a href="../classes/DB_Util.html" class="more">« More »</a>
</div>
<div id="Firebird" class="element ajax clickable class">
<h1>Firebird<a href="../classes/Firebird.html"></a>
</h1>
@ -294,7 +367,7 @@ data-fetching methods</p>
<ul class="breadcrumb"><li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/Query.html">Query</a></li>
<li class="active">
<span class="divider">\</span><a href="../packages/Query.Query.html">Query</a>
<span class="divider">\</span><a href="../packages/Query.Query_Builder.html">Query_Builder</a>
</li>
</li></ul>
<div class="package-indent">
@ -307,49 +380,6 @@ data-fetching methods</p>
<div class="details collapse"></div>
<a href="../classes/Query_Builder_Interface.html" class="more">« More »</a>
</div>
<div id="SQL_Interface" class="element ajax clickable interface">
<h1>SQL_Interface<a href="../classes/SQL_Interface.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/SQL_Interface.html" class="more">« More »</a>
</div>
<div id="Abstract_Driver" class="element ajax clickable class">
<h1>Abstract_Driver<a href="../classes/Abstract_Driver.html"></a>
</h1>
<p class="short_description">Base Database class</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_Driver.html" class="more">« More »</a>
</div>
<div id="Abstract_SQL" class="element ajax clickable class">
<h1>Abstract_SQL<a href="../classes/Abstract_SQL.html"></a>
</h1>
<p class="short_description">parent for database manipulation subclasses</p>
<div class="details collapse"></div>
<a href="../classes/Abstract_SQL.html" class="more">« More »</a>
</div>
<div id="BadDBDriverException" class="element ajax clickable class">
<h1>BadDBDriverException<a href="../classes/BadDBDriverException.html"></a>
</h1>
<p class="short_description">Generic exception for bad drivers</p>
<div class="details collapse"></div>
<a href="../classes/BadDBDriverException.html" class="more">« More »</a>
</div>
<div id="Connection_Manager" class="element ajax clickable class">
<h1>Connection_Manager<a href="../classes/Connection_Manager.html"></a>
</h1>
<p class="short_description">Connection manager class to manage connections for the
Query method</p>
<div class="details collapse"></div>
<a href="../classes/Connection_Manager.html" class="more">« More »</a>
</div>
<div id="DB_Util" class="element ajax clickable class">
<h1>DB_Util<a href="../classes/DB_Util.html"></a>
</h1>
<p class="short_description">Abstract class defining database / table creation methods</p>
<div class="details collapse"></div>
<a href="../classes/DB_Util.html" class="more">« More »</a>
</div>
<div id="Query_Builder" class="element ajax clickable class">
<h1>Query_Builder<a href="../classes/Query_Builder.html"></a>
</h1>
@ -366,6 +396,23 @@ instantiates the specific db driver</p>
<a href="../classes/Query_Parser.html" class="more">« More »</a>
</div>
</div>
<ul class="breadcrumb"><li>
<a href="../index.html"><i class="icon-folder-open"></i></a><span class="divider">\</span><li><a href="../packages/Query.html">Query</a></li>
<li class="active">
<span class="divider">\</span><a href="../packages/Query.Table_Builder.html">Table_Builder</a>
</li>
</li></ul>
<div class="package-indent">
<h3>
<i title="Classes" class="icon-custom icon-class"></i> Classes and interfaces</h3>
<div id="Table_Builder_Interface" class="element ajax clickable interface">
<h1>Table_Builder_Interface<a href="../classes/Table_Builder_Interface.html"></a>
</h1>
<p class="short_description">Abstract class defining database / table creation methods</p>
<div class="details collapse"></div>
<a href="../classes/Table_Builder_Interface.html" class="more">« More »</a>
</div>
</div>
</div>
</div>
</div>
@ -373,7 +420,7 @@ instantiates the specific db driver</p>
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.2.0
</a> and<br>
generated on 2014-03-31T13:31:59-04:00.<br></footer></div>
generated on 2014-03-31T15:56:17-04:00.<br></footer></div>
</div>
</body>
</html>

File diff suppressed because one or more lines are too long

View File

@ -112,13 +112,7 @@ class Firebird extends Abstract_Driver {
*/
public function exec($sql)
{
if (empty($sql)) throw new PDOException("Exec method requires an sql query!", 0, NULL);
$query = (isset($this->trans))
? fbird_query($this->trans, $sql)
: fbird_query($this->conn, $sql);
return fbird_affected_rows($query);
return NULL;
}
// --------------------------------------------------------------------------

View File

@ -281,4 +281,37 @@ SQL;
$res = $this->db->sql->db_list();
$this->assertNULL($res);
}
// --------------------------------------------------------------------------
public function testExec()
{
$res = $this->db->exec('SELECT * FROM "create_test"');
$this->assertEquals(NULL, $res);
}
// --------------------------------------------------------------------------
public function testInTransaction()
{
$this->db->beginTransaction();
$this->assertTrue($this->db->inTransaction());
$this->db->rollBack();
$this->assertFalse($this->db->inTransaction());
}
// --------------------------------------------------------------------------
public function testGetAttribute()
{
$res = $this->db->getAttribute("foo");
$this->assertEquals(NULL, $res);
}
// --------------------------------------------------------------------------
public function testSetAttribute()
{
$this->assertFalse($this->db->setAttribute(47, 'foo'));
}
}