@@ -474,7 +474,7 @@ Query method
Throws
- \Query\InvalidArgumentException
+ \InvalidArgumentException
@@ -518,11 +518,6 @@ Query method
-
Throws
-
- \Query\BadConnectionException
-
-
Returns
\Query\Query_Builder
@@ -630,13 +625,13 @@ Query method
__wakeup()
__wakeup()
-
Make sure serialize/deseriaze doesn't work
+
Make sure serialize/deserialize doesn't work
Throws
- \Query\DomainException
+ \DomainException
@@ -673,7 +668,7 @@ Query method
parse_params()
- parse_params(\ArrayObject $params )
+ parse_params(\ArrayObject $params ) : array
Parses params into a dsn and option array
@@ -692,7 +687,9 @@ Query method
-
+
Returns
+ array
+
@@ -807,7 +804,7 @@ Query method
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Abstract_Driver.html b/docs/classes/Query.Driver.Abstract_Driver.html
index d801f5c..32c97fc 100644
--- a/docs/classes/Query.Driver.Abstract_Driver.html
+++ b/docs/classes/Query.Driver.Abstract_Driver.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -523,12 +525,12 @@
$statement
- $statement : \Query\Driver\PDOStatement
+ $statement : \PDOStatement
Reference to the last executed query
Type
- \Query\Driver\PDOStatement
+ \PDOStatement
+
+
+
+
+ Tags
+
+
+
+ codeCoverageIgnore
+
+
+
+
+
+
+
+ todo
+
+
+
+
+
+
+
+
+
+
+
+
+ get_sql()
+
+ get_sql() : \Query\Driver\SQL_Interface
+ Get the SQL class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\SQL_Interface
+
+
+
+
+
+
+
+
+
+ get_util()
+
+ get_util() : \Query\Driver\Abstract_Util
+ Get the Util class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\Abstract_Util
+
@@ -1249,7 +1327,7 @@
get_system_tables()
get_system_tables() : array
- Retreives an array of non-user-created tables for
+ Retrieves an array of non-user-created tables for
the connection/database
@@ -1439,7 +1517,7 @@ the connection/database
driver_query()
driver_query(string|array|null $query , bool $filtered_index ) : array
- Method to simplify retreiving db results for meta-data queries
+ Method to simplify retrieving db results for meta-data queries
Parameters
@@ -1690,7 +1768,7 @@ the connection/database
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Abstract_SQL.html b/docs/classes/Query.Driver.Abstract_SQL.html
index 8c6442a..ae80cef 100644
--- a/docs/classes/Query.Driver.Abstract_SQL.html
+++ b/docs/classes/Query.Driver.Abstract_SQL.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -341,7 +341,7 @@
limit()
- limit(string $sql , int $limit , int $offset ) : string
+ limit(string $sql , int $limit , int|bool $offset ) : string
Limit clause
@@ -358,7 +358,7 @@
- int
+ int|bool
$offset
@@ -436,7 +436,7 @@
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Abstract_Util.html b/docs/classes/Query.Driver.Abstract_Util.html
index ed61414..47023aa 100644
--- a/docs/classes/Query.Driver.Abstract_Util.html
+++ b/docs/classes/Query.Driver.Abstract_Util.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -469,8 +469,8 @@
create_table()
- create_table(string $name , array $fields , array $constraints ) : string
- Convienience public function to generate sql for creating a db table
+ create_table(string $name , array $fields , array $constraints , bool $if_not_exists ) : string
+ Convenience public function to generate sql for creating a db table
Parameters
@@ -489,6 +489,11 @@
array
$constraints
+
+
+ bool
+ $if_not_exists
+
@@ -747,7 +752,7 @@
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Driver_Interface.html b/docs/classes/Query.Driver.Driver_Interface.html
index 72a144f..8d9862e 100644
--- a/docs/classes/Query.Driver.Driver_Interface.html
+++ b/docs/classes/Query.Driver.Driver_Interface.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -268,6 +268,14 @@
getAttribute()
rollback()
setAttribute()
+
get_columns()
+
get_fks()
+
get_tables()
+
quote_ident()
+
quote_table()
+
prepare_execute()
+
get_sql()
+
get_util()
No constants found
@@ -326,7 +334,7 @@
__construct()
- __construct(string $dsn , \Query\Driver\[string] $username , \Query\Driver\[string] $password , \Query\Driver\[array] $driver_options ) : void
+ __construct(string $dsn , string $username , string $password , array $driver_options )
Constructor/Connection method
@@ -338,17 +346,17 @@
- \Query\Driver\[string]
+ string
$username
- \Query\Driver\[string]
+ string
$password
- \Query\Driver\[array]
+ array
$driver_options
@@ -553,7 +561,7 @@
getAttribute()
- getAttribute(int $attribute )
+ getAttribute(int $attribute ) : mixed
Get a connection attribute for the current db driver
@@ -567,7 +575,9 @@
-
+ Returns
+ mixed
+
@@ -576,14 +586,6 @@
Tags
-
- returm
-
-
- mixed
-
-
-
todo
@@ -673,6 +675,315 @@
+
+
+
+
+ get_columns()
+
+ get_columns(string $table ) : array
+ Retrieve column information for the current database table
+
+
+ Parameters
+
+
+ string
+ $table
+
+
+
+
+
+ Returns
+ array
+
+
+
+
+
+
+
+
+
+ get_fks()
+
+ get_fks(string $table ) : array
+ Retrieve foreign keys for the table
+
+
+ Parameters
+
+
+ string
+ $table
+
+
+
+
+
+ Returns
+ array
+
+
+
+
+
+
+
+
+
+ get_tables()
+
+ get_tables() : array
+ Return list of tables for the current database
+
+
+
+
+ Returns
+ array
+
+
+
+
+
+
+
+
+
+ quote_ident()
+
+ quote_ident(mixed $ident ) : string
+ Surrounds the string with the databases identifier escape characters
+
+
+ Parameters
+
+
+
+ Returns
+ string
+
+
+
+
+
+
+
+
+
+ quote_table()
+
+ quote_table(string $table ) : string
+ Quote database table name, and set prefix
+
+
+ Parameters
+
+
+ string
+ $table
+
+
+
+
+
+ Returns
+ string
+
+
+
+
+
+
+
+
+
+ prepare_execute()
+
+ prepare_execute(string $sql , array $params ) : \PDOStatement
+ Create and execute a prepared statement with the provided parameters
+
+
+ Parameters
+
+
+ string
+ $sql
+
+
+
+ array
+ $params
+
+
+
+
+
+ Returns
+ \PDOStatement
+
+
+
+
+
+
+
+
+
+ get_sql()
+
+ get_sql() : \Query\Driver\SQL_Interface
+ Get the SQL class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\SQL_Interface
+
+
+
+
+
+
+
+
+
+ get_util()
+
+ get_util() : \Query\Driver\Abstract_Util
+ Get the Util class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\Abstract_Util
+
+
+
+
+
@@ -723,7 +1034,7 @@
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Firebird.html b/docs/classes/Query.Driver.Firebird.html
index a8bb6a0..33ce028 100644
--- a/docs/classes/Query.Driver.Firebird.html
+++ b/docs/classes/Query.Driver.Firebird.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -553,12 +555,12 @@
$statement
- $statement : \Query\Driver\PDOStatement
+ $statement : \PDOStatement
Reference to the last executed query
Type
- \Query\Driver\PDOStatement
+ \PDOStatement
-
+ Returns
+ mixed
+
+
+
+
+
+
+
+
+
+ get_sql()
+
+ get_sql() : \Query\Driver\SQL_Interface
+ Get the SQL class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\SQL_Interface
+
+
+
+
+
+
+
+
+
+ get_util()
+
+ get_util() : \Query\Driver\Abstract_Util
+ Get the Util class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\Abstract_Util
+
@@ -2110,7 +2192,7 @@ the last query executed
get_system_tables()
get_system_tables() : array
- Retreives an array of non-user-created tables for
+ Retrieves an array of non-user-created tables for
the connection/database
@@ -2310,7 +2392,7 @@ the connection/database
driver_query()
driver_query(string|array|null $query , bool $filtered_index ) : array
- Method to simplify retreiving db results for meta-data queries
+ Method to simplify retrieving db results for meta-data queries
Parameters
@@ -2481,7 +2563,7 @@ the connection/database
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Firebird_Result.html b/docs/classes/Query.Driver.Firebird_Result.html
index 9045e10..3b51d37 100644
--- a/docs/classes/Query.Driver.Firebird_Result.html
+++ b/docs/classes/Query.Driver.Firebird_Result.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -491,7 +491,7 @@ data-fetching methods
__construct()
- __construct(resource $link , \Query\Driver\[\Query\Driver\Firebird] $db )
+ __construct(resource $link , \Query\Driver\Firebird|null $db ) : void
Create the object by passing the resource for
the query
@@ -504,7 +504,7 @@ the query
- \Query\Driver\[\Query\Driver\Firebird]
+ \Query\Driver\Firebird |null
$db
@@ -1082,7 +1082,7 @@ the query
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Firebird_SQL.html b/docs/classes/Query.Driver.Firebird_SQL.html
index af422de..5b976e2 100644
--- a/docs/classes/Query.Driver.Firebird_SQL.html
+++ b/docs/classes/Query.Driver.Firebird_SQL.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -356,7 +356,7 @@
limit()
- limit(string $sql , int $limit , int $offset ) : string
+ limit(string $sql , int $limit , int|bool $offset ) : string
Limit clause
@@ -373,7 +373,7 @@
- int
+ int|bool
$offset
@@ -948,7 +948,7 @@ table
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.Firebird_Util.html b/docs/classes/Query.Driver.Firebird_Util.html
index 9ac6fa0..451d0fe 100644
--- a/docs/classes/Query.Driver.Firebird_Util.html
+++ b/docs/classes/Query.Driver.Firebird_Util.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -391,8 +391,8 @@
create_table()
- create_table(string $name , array $fields , array $constraints ) : string
- Convienience public function to generate sql for creating a db table
+ create_table(string $name , array $fields , array $constraints , bool $if_not_exists ) : string
+ Convenience public function to generate sql for creating a db table
Parameters
@@ -411,6 +411,11 @@
array
$constraints
+
+
+ bool
+ $if_not_exists
+
@@ -886,7 +891,7 @@
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.MySQL.html b/docs/classes/Query.Driver.MySQL.html
index 6ef6349..2a3cf6b 100644
--- a/docs/classes/Query.Driver.MySQL.html
+++ b/docs/classes/Query.Driver.MySQL.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -704,7 +706,7 @@
__call()
- __call(string $name , array $args )
+ __call(string $name , array $args ) : mixed
Allow invoke to work on table object
@@ -723,7 +725,87 @@
-
+ Returns
+ mixed
+
+
+
+
+
+
+
+
+
+ get_sql()
+
+ get_sql() : \Query\Driver\SQL_Interface
+ Get the SQL class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\SQL_Interface
+
+
+
+
+
+
+
+
+
+ get_util()
+
+ get_util() : \Query\Driver\Abstract_Util
+ Get the Util class for the current driver
+
+
+
+
+ Returns
+ \Query\Driver\Abstract_Util
+
@@ -1340,7 +1422,7 @@
get_system_tables()
get_system_tables() : array
- Retreives an array of non-user-created tables for
+ Retrieves an array of non-user-created tables for
the connection/database
@@ -1540,7 +1622,7 @@ the connection/database
driver_query()
driver_query(string|array|null $query , bool $filtered_index ) : array
- Method to simplify retreiving db results for meta-data queries
+ Method to simplify retrieving db results for meta-data queries
Parameters
@@ -1759,7 +1841,7 @@ the connection/database
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.MySQL_SQL.html b/docs/classes/Query.Driver.MySQL_SQL.html
index a02a679..8747d45 100644
--- a/docs/classes/Query.Driver.MySQL_SQL.html
+++ b/docs/classes/Query.Driver.MySQL_SQL.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -356,7 +356,7 @@
limit()
- limit(string $sql , int $limit , int $offset ) : string
+ limit(string $sql , int $limit , int|bool $offset ) : string
Limit clause
@@ -373,7 +373,7 @@
- int
+ int|bool
$offset
@@ -956,7 +956,7 @@ table
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.MySQL_Util.html b/docs/classes/Query.Driver.MySQL_Util.html
index a4511a4..c3612bd 100644
--- a/docs/classes/Query.Driver.MySQL_Util.html
+++ b/docs/classes/Query.Driver.MySQL_Util.html
@@ -139,28 +139,28 @@
-
+
-
+
-
+
@@ -179,10 +179,10 @@
-
+
@@ -554,8 +554,8 @@
create_table()
- create_table(string $name , array $fields , array $constraints ) : string
- Convienience public function to generate sql for creating a db table
+ create_table(string $name , array $fields , array $constraints , bool $if_not_exists ) : string
+ Convenience public function to generate sql for creating a db table
Parameters
@@ -574,6 +574,11 @@
array
$constraints
+
+
+ bool
+ $if_not_exists
+
@@ -963,7 +968,7 @@
Documentation is powered by phpDocumentor and authored
- on April 15th, 2014 at 16:12.
+ on April 24th, 2014 at 11:24.
diff --git a/docs/classes/Query.Driver.PgSQL.html b/docs/classes/Query.Driver.PgSQL.html
index 2fcb9ed..631c662 100644
--- a/docs/classes/Query.Driver.PgSQL.html
+++ b/docs/classes/Query.Driver.PgSQL.html
@@ -139,28 +139,28 @@