From cf0035f8fbabd5ade009b3f55d176493357fc029 Mon Sep 17 00:00:00 2001 From: "Timothy J. Warren" Date: Thu, 24 Apr 2014 16:25:33 -0400 Subject: [PATCH] Update docs [ci-skip] --- docs/classes/Query.BadDBDriverException.html | 26 ++-- docs/classes/Query.Connection_Manager.html | 26 ++-- .../classes/Query.Driver.Abstract_Driver.html | 66 ++++++-- .../Query.Driver.Driver_Interface.html | 26 ++-- docs/classes/Query.Driver.Firebird.html | 146 +++++++++++------- .../classes/Query.Driver.Firebird_Result.html | 26 ++-- docs/classes/Query.Driver.MySQL.html | 146 +++++++++++------- docs/classes/Query.Driver.PgSQL.html | 146 +++++++++++------- .../Query.Driver.SQL.Abstract_SQL.html | 26 ++-- .../Query.Driver.SQL.Firebird_SQL.html | 26 ++-- docs/classes/Query.Driver.SQL.MySQL_SQL.html | 26 ++-- docs/classes/Query.Driver.SQL.PgSQL_SQL.html | 26 ++-- .../Query.Driver.SQL.SQL_Interface.html | 26 ++-- docs/classes/Query.Driver.SQL.SQLite_SQL.html | 26 ++-- docs/classes/Query.Driver.SQLite.html | 146 +++++++++++------- .../Query.Driver.Util.Abstract_Util.html | 26 ++-- .../Query.Driver.Util.Firebird_Util.html | 26 ++-- .../classes/Query.Driver.Util.MySQL_Util.html | 26 ++-- .../classes/Query.Driver.Util.PgSQL_Util.html | 26 ++-- .../Query.Driver.Util.SQLite_Util.html | 26 ++-- docs/classes/Query.Query_Builder.html | 26 ++-- .../Query.Query_Builder_Interface.html | 26 ++-- docs/classes/Query.Query_Parser.html | 26 ++-- docs/classes/Query.Table.Abstract_Table.html | 26 ++-- docs/classes/Query.Table.Table_Builder.html | 26 ++-- docs/classes/Query.Table.Table_Column.html | 26 ++-- .../Query.Table.Table_Foreign_Key.html | 26 ++-- docs/classes/Query.Table.Table_Index.html | 26 ++-- docs/files/autoload.php.html | 26 ++-- docs/files/common.php.html | 26 ++-- .../core.abstract.abstract_driver.php.html | 26 ++-- .../files/core.abstract.abstract_sql.php.html | 26 ++-- .../core.abstract.abstract_table.php.html | 26 ++-- .../core.abstract.abstract_util.php.html | 26 ++-- docs/files/core.connection_manager.php.html | 26 ++-- .../core.interfaces.driver_interface.php.html | 26 ++-- ...nterfaces.query_builder_interface.php.html | 26 ++-- .../core.interfaces.sql_interface.php.html | 26 ++-- docs/files/core.query_builder.php.html | 26 ++-- docs/files/core.query_parser.php.html | 26 ++-- docs/files/core.table_builder.php.html | 26 ++-- docs/files/core.table_column.php.html | 26 ++-- docs/files/core.table_foreign_key.php.html | 26 ++-- docs/files/core.table_index.php.html | 26 ++-- .../core/abstract/abstract_driver.php.txt | 23 ++- .../drivers.firebird.firebird_driver.php.html | 26 ++-- .../drivers.firebird.firebird_result.php.html | 26 ++-- .../drivers.firebird.firebird_sql.php.html | 26 ++-- .../drivers.firebird.firebird_util.php.html | 26 ++-- .../files/drivers.mysql.mysql_driver.php.html | 26 ++-- docs/files/drivers.mysql.mysql_sql.php.html | 26 ++-- docs/files/drivers.mysql.mysql_util.php.html | 26 ++-- .../files/drivers.pgsql.pgsql_driver.php.html | 26 ++-- docs/files/drivers.pgsql.pgsql_sql.php.html | 26 ++-- docs/files/drivers.pgsql.pgsql_util.php.html | 26 ++-- .../drivers.sqlite.sqlite_driver.php.html | 26 ++-- docs/files/drivers.sqlite.sqlite_sql.php.html | 26 ++-- .../files/drivers.sqlite.sqlite_util.php.html | 26 ++-- .../drivers/firebird/firebird_driver.php.txt | 22 +-- docs/files/drivers/mysql/mysql_driver.php.txt | 13 -- docs/files/drivers/pgsql/pgsql_driver.php.txt | 13 -- .../drivers/sqlite/sqlite_driver.php.txt | 24 +-- docs/graphs/class.html | 2 +- docs/namespaces/Query.Driver.SQL.html | 26 ++-- docs/namespaces/Query.Driver.Util.html | 26 ++-- docs/namespaces/Query.Driver.html | 26 ++-- docs/namespaces/Query.Table.html | 26 ++-- docs/namespaces/Query.html | 26 ++-- docs/namespaces/default.html | 26 ++-- docs/reports/deprecated.html | 2 +- docs/reports/errors.html | 2 +- docs/reports/markers.html | 2 +- 72 files changed, 1200 insertions(+), 1061 deletions(-) diff --git a/docs/classes/Query.BadDBDriverException.html b/docs/classes/Query.BadDBDriverException.html index 7fd7f5f..3abd5d9 100644 --- a/docs/classes/Query.BadDBDriverException.html +++ b/docs/classes/Query.BadDBDriverException.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -414,7 +414,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Connection_Manager.html b/docs/classes/Query.Connection_Manager.html index 058d2fd..6182866 100644 --- a/docs/classes/Query.Connection_Manager.html +++ b/docs/classes/Query.Connection_Manager.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -838,7 +838,7 @@ Query method


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.Abstract_Driver.html b/docs/classes/Query.Driver.Abstract_Driver.html index a3d625f..c468e37 100644 --- a/docs/classes/Query.Driver.Abstract_Driver.html +++ b/docs/classes/Query.Driver.Abstract_Driver.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -331,6 +331,7 @@ $table
$last_query
$table_prefix
+ $has_truncate
No constants found @@ -555,6 +556,36 @@
+
+
+ +
+

$has_truncate

+
$has_truncate : bool
+

Whether the driver supports 'TRUNCATE'

+ + +

Type

+ bool +
+
+ +
+
@@ -1678,7 +1709,7 @@ the connection/database

truncate()

-
truncate(string $table) : void
+
truncate(string $table) : \PDOStatement

Empty the passed table

@@ -1692,12 +1723,13 @@ the connection/database

-
+

Returns

+ \PDOStatement +
+
+ +
+

$sql

@@ -907,48 +940,6 @@ the last query executed

- -
-

truncate()

- -
truncate(string $table) : void
-

Empty the passed table

- - -

Parameters

- - - - - - -
string$table
- - -
-
- -
- -
-

exec()

@@ -2505,6 +2496,49 @@ the connection/database

+
+
+ +
+

truncate()

+ +
truncate(string $table) : \PDOStatement
+

Empty the passed table

+ + +

Parameters

+ + + + + + +
string$table
+ + +

Returns

+ \PDOStatement +
+
+ +
+
@@ -2631,7 +2665,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.Firebird_Result.html b/docs/classes/Query.Driver.Firebird_Result.html index c139c7f..1b5f6b7 100644 --- a/docs/classes/Query.Driver.Firebird_Result.html +++ b/docs/classes/Query.Driver.Firebird_Result.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -1116,7 +1116,7 @@ the query


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.MySQL.html b/docs/classes/Query.Driver.MySQL.html index cb8f97e..ce22f6a 100644 --- a/docs/classes/Query.Driver.MySQL.html +++ b/docs/classes/Query.Driver.MySQL.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -297,7 +297,6 @@
__construct()
- truncate()
__call()
get_sql()
get_util()
@@ -324,6 +323,7 @@ num_rows()
insert_batch()
_quote()
+ truncate()
$sql
@@ -331,6 +331,7 @@ $table
$last_query
$table_prefix
+ $has_truncate
No constants found @@ -566,6 +567,38 @@
+
+
+ +
+

$has_truncate

+
$has_truncate : bool
+

Whether the driver supports 'TRUNCATE'

+ + +

Type

+ bool +
+
+ +
+
@@ -695,48 +728,6 @@
- -
-

truncate()

- -
truncate(string $table) : void
-

Empty the passed table

- - -

Parameters

- - - - - - -
string$table
- - -
-
- -
- -
-

__call()

@@ -1783,6 +1774,49 @@ the connection/database

+
+
+ +
+

truncate()

+ +
truncate(string $table) : \PDOStatement
+

Empty the passed table

+ + +

Parameters

+ + + + + + +
string$table
+ + +

Returns

+ \PDOStatement +
+
+ +
+
@@ -1909,7 +1943,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.PgSQL.html b/docs/classes/Query.Driver.PgSQL.html index 6fc4187..759c65d 100644 --- a/docs/classes/Query.Driver.PgSQL.html +++ b/docs/classes/Query.Driver.PgSQL.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -297,7 +297,6 @@
__construct()
- truncate()
get_schemas()
get_fks()
__call()
@@ -324,6 +323,7 @@ num_rows()
insert_batch()
_quote()
+ truncate()
$sql
@@ -331,6 +331,7 @@ $table
$last_query
$table_prefix
+ $has_truncate
No constants found @@ -566,6 +567,38 @@
+
+
+ +
+

$has_truncate

+
$has_truncate : bool
+

Whether the driver supports 'TRUNCATE'

+ + +

Type

+ bool +
+
+ +
+
@@ -695,48 +728,6 @@
- -
-

truncate()

- -
truncate(string $table) : void
-

Empty the passed table

- - -

Parameters

- - - - - - -
string$table
- - -
-
- -
- -
-

get_schemas()

@@ -1783,6 +1774,49 @@ the connection/database

+
+
+ +
+

truncate()

+ +
truncate(string $table) : \PDOStatement
+

Empty the passed table

+ + +

Parameters

+ + + + + + +
string$table
+ + +

Returns

+ \PDOStatement +
+
+ +
+
@@ -1909,7 +1943,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.SQL.Abstract_SQL.html b/docs/classes/Query.Driver.SQL.Abstract_SQL.html index 51bab0c..12dbd65 100644 --- a/docs/classes/Query.Driver.SQL.Abstract_SQL.html +++ b/docs/classes/Query.Driver.SQL.Abstract_SQL.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -470,7 +470,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.SQL.Firebird_SQL.html b/docs/classes/Query.Driver.SQL.Firebird_SQL.html index 53767f2..f2afb4c 100644 --- a/docs/classes/Query.Driver.SQL.Firebird_SQL.html +++ b/docs/classes/Query.Driver.SQL.Firebird_SQL.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -982,7 +982,7 @@ table


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.SQL.MySQL_SQL.html b/docs/classes/Query.Driver.SQL.MySQL_SQL.html index 6827b12..edbf913 100644 --- a/docs/classes/Query.Driver.SQL.MySQL_SQL.html +++ b/docs/classes/Query.Driver.SQL.MySQL_SQL.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -990,7 +990,7 @@ table


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.SQL.PgSQL_SQL.html b/docs/classes/Query.Driver.SQL.PgSQL_SQL.html index a7257e4..a5cf251 100644 --- a/docs/classes/Query.Driver.SQL.PgSQL_SQL.html +++ b/docs/classes/Query.Driver.SQL.PgSQL_SQL.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -982,7 +982,7 @@ table


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.SQL.SQL_Interface.html b/docs/classes/Query.Driver.SQL.SQL_Interface.html index 7a34894..fb7878e 100644 --- a/docs/classes/Query.Driver.SQL.SQL_Interface.html +++ b/docs/classes/Query.Driver.SQL.SQL_Interface.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -957,7 +957,7 @@ table


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.SQL.SQLite_SQL.html b/docs/classes/Query.Driver.SQL.SQLite_SQL.html index dd8277f..a836a19 100644 --- a/docs/classes/Query.Driver.SQL.SQLite_SQL.html +++ b/docs/classes/Query.Driver.SQL.SQLite_SQL.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -982,7 +982,7 @@ table


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.SQLite.html b/docs/classes/Query.Driver.SQLite.html index d18e773..e3d5621 100644 --- a/docs/classes/Query.Driver.SQLite.html +++ b/docs/classes/Query.Driver.SQLite.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -297,7 +297,6 @@
__construct()
- truncate()
get_tables()
get_fks()
insert_batch()
@@ -324,8 +323,10 @@ driver_query()
num_rows()
_quote()
+ truncate()
+ $has_truncate
$sql
$util
$table
@@ -408,6 +409,38 @@
+ +
+

$has_truncate

+
$has_truncate : bool
+

Whether the driver supports 'TRUNCATE'

+ + +

Type

+ bool +
+
+ +
+ +
+

$sql

@@ -695,48 +728,6 @@
- -
-

truncate()

- -
truncate(string $table) : void
-

Empty the passed table

- - -

Parameters

- - - - - - -
string$table
- - -
-
- -
- -
-

get_tables()

@@ -1783,6 +1774,49 @@ the connection/database

+
+
+ +
+

truncate()

+ +
truncate(string $table) : \PDOStatement
+

Empty the passed table

+ + +

Parameters

+ + + + + + +
string$table
+ + +

Returns

+ \PDOStatement +
+
+ +
+
@@ -1909,7 +1943,7 @@ the connection/database


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.Util.Abstract_Util.html b/docs/classes/Query.Driver.Util.Abstract_Util.html index c76c4f7..d1f85de 100644 --- a/docs/classes/Query.Driver.Util.Abstract_Util.html +++ b/docs/classes/Query.Driver.Util.Abstract_Util.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -773,7 +773,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.Util.Firebird_Util.html b/docs/classes/Query.Driver.Util.Firebird_Util.html index 795fb50..67ab0f5 100644 --- a/docs/classes/Query.Driver.Util.Firebird_Util.html +++ b/docs/classes/Query.Driver.Util.Firebird_Util.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -792,7 +792,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.Util.MySQL_Util.html b/docs/classes/Query.Driver.Util.MySQL_Util.html index f5b8666..23e54dd 100644 --- a/docs/classes/Query.Driver.Util.MySQL_Util.html +++ b/docs/classes/Query.Driver.Util.MySQL_Util.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -792,7 +792,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.Util.PgSQL_Util.html b/docs/classes/Query.Driver.Util.PgSQL_Util.html index 17eca3b..c327c03 100644 --- a/docs/classes/Query.Driver.Util.PgSQL_Util.html +++ b/docs/classes/Query.Driver.Util.PgSQL_Util.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -792,7 +792,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Driver.Util.SQLite_Util.html b/docs/classes/Query.Driver.Util.SQLite_Util.html index b87482d..170d3da 100644 --- a/docs/classes/Query.Driver.Util.SQLite_Util.html +++ b/docs/classes/Query.Driver.Util.SQLite_Util.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -864,7 +864,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Query_Builder.html b/docs/classes/Query.Query_Builder.html index 678c58a..4d12e34 100644 --- a/docs/classes/Query.Query_Builder.html +++ b/docs/classes/Query.Query_Builder.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -3736,7 +3736,7 @@ in place of the get() method


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Query_Builder_Interface.html b/docs/classes/Query.Query_Builder_Interface.html index c7de552..c41dab7 100644 --- a/docs/classes/Query.Query_Builder_Interface.html +++ b/docs/classes/Query.Query_Builder_Interface.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -2302,7 +2302,7 @@ in place of the get() method


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Query_Parser.html b/docs/classes/Query.Query_Parser.html index f14086e..0f4a0fa 100644 --- a/docs/classes/Query.Query_Parser.html +++ b/docs/classes/Query.Query_Parser.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -681,7 +681,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Table.Abstract_Table.html b/docs/classes/Query.Table.Abstract_Table.html index 2c2553e..d79e9b1 100644 --- a/docs/classes/Query.Table.Abstract_Table.html +++ b/docs/classes/Query.Table.Abstract_Table.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -618,7 +618,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Table.Table_Builder.html b/docs/classes/Query.Table.Table_Builder.html index 26109fc..3cadac9 100644 --- a/docs/classes/Query.Table.Table_Builder.html +++ b/docs/classes/Query.Table.Table_Builder.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -1631,7 +1631,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Table.Table_Column.html b/docs/classes/Query.Table.Table_Column.html index 25a4214..d41085e 100644 --- a/docs/classes/Query.Table.Table_Column.html +++ b/docs/classes/Query.Table.Table_Column.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -741,7 +741,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Table.Table_Foreign_Key.html b/docs/classes/Query.Table.Table_Foreign_Key.html index cbc241d..d110c39 100644 --- a/docs/classes/Query.Table.Table_Foreign_Key.html +++ b/docs/classes/Query.Table.Table_Foreign_Key.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -629,7 +629,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/classes/Query.Table.Table_Index.html b/docs/classes/Query.Table.Table_Index.html index 292b18f..a57d93e 100644 --- a/docs/classes/Query.Table.Table_Index.html +++ b/docs/classes/Query.Table.Table_Index.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -629,7 +629,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/autoload.php.html b/docs/files/autoload.php.html index 41b8691..d79d884 100644 --- a/docs/files/autoload.php.html +++ b/docs/files/autoload.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -521,7 +521,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/common.php.html b/docs/files/common.php.html index 89dd175..1d6e79a 100644 --- a/docs/files/common.php.html +++ b/docs/files/common.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -693,7 +693,7 @@ connection created.


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.abstract.abstract_driver.php.html b/docs/files/core.abstract.abstract_driver.php.html index 5253fa5..6f5a1ba 100644 --- a/docs/files/core.abstract.abstract_driver.php.html +++ b/docs/files/core.abstract.abstract_driver.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.abstract.abstract_sql.php.html b/docs/files/core.abstract.abstract_sql.php.html index 9610448..2c52d04 100644 --- a/docs/files/core.abstract.abstract_sql.php.html +++ b/docs/files/core.abstract.abstract_sql.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.abstract.abstract_table.php.html b/docs/files/core.abstract.abstract_table.php.html index 8e02eb9..a7b32f3 100644 --- a/docs/files/core.abstract.abstract_table.php.html +++ b/docs/files/core.abstract.abstract_table.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.abstract.abstract_util.php.html b/docs/files/core.abstract.abstract_util.php.html index 8e96c78..d707c7e 100644 --- a/docs/files/core.abstract.abstract_util.php.html +++ b/docs/files/core.abstract.abstract_util.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.connection_manager.php.html b/docs/files/core.connection_manager.php.html index abcada7..8ac6fbd 100644 --- a/docs/files/core.connection_manager.php.html +++ b/docs/files/core.connection_manager.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -388,7 +388,7 @@ Query method

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.interfaces.driver_interface.php.html b/docs/files/core.interfaces.driver_interface.php.html index a971c8d..4bfbc25 100644 --- a/docs/files/core.interfaces.driver_interface.php.html +++ b/docs/files/core.interfaces.driver_interface.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.interfaces.query_builder_interface.php.html b/docs/files/core.interfaces.query_builder_interface.php.html index 4ee328e..1cc5922 100644 --- a/docs/files/core.interfaces.query_builder_interface.php.html +++ b/docs/files/core.interfaces.query_builder_interface.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.interfaces.sql_interface.php.html b/docs/files/core.interfaces.sql_interface.php.html index 808638a..2c8d5be 100644 --- a/docs/files/core.interfaces.sql_interface.php.html +++ b/docs/files/core.interfaces.sql_interface.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.query_builder.php.html b/docs/files/core.query_builder.php.html index be51618..559bdd7 100644 --- a/docs/files/core.query_builder.php.html +++ b/docs/files/core.query_builder.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -384,7 +384,7 @@ instantiates the specific db driver

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.query_parser.php.html b/docs/files/core.query_parser.php.html index ed361f3..0dcc45f 100644 --- a/docs/files/core.query_parser.php.html +++ b/docs/files/core.query_parser.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.table_builder.php.html b/docs/files/core.table_builder.php.html index f86da1d..cc6774a 100644 --- a/docs/files/core.table_builder.php.html +++ b/docs/files/core.table_builder.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.table_column.php.html b/docs/files/core.table_column.php.html index 1acdf22..9597db7 100644 --- a/docs/files/core.table_column.php.html +++ b/docs/files/core.table_column.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.table_foreign_key.php.html b/docs/files/core.table_foreign_key.php.html index 13376e3..f493057 100644 --- a/docs/files/core.table_foreign_key.php.html +++ b/docs/files/core.table_foreign_key.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core.table_index.php.html b/docs/files/core.table_index.php.html index 2d06e3e..f698082 100644 --- a/docs/files/core.table_index.php.html +++ b/docs/files/core.table_index.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/core/abstract/abstract_driver.php.txt b/docs/files/core/abstract/abstract_driver.php.txt index 84a6614..aee0e9c 100644 --- a/docs/files/core/abstract/abstract_driver.php.txt +++ b/docs/files/core/abstract/abstract_driver.php.txt @@ -71,6 +71,12 @@ abstract class Abstract_Driver extends \PDO implements Driver_Interface { */ public $table_prefix = ''; + /** + * Whether the driver supports 'TRUNCATE' + * @var bool + */ + public $has_truncate = TRUE; + /** * PDO constructor wrapper * @@ -607,17 +613,26 @@ abstract class Abstract_Driver extends \PDO implements Driver_Interface { return $this->table_prefix.$str; } - // ------------------------------------------------------------------------- - // ! Abstract public functions to implement in child classes // ------------------------------------------------------------------------- /** * Empty the passed table * * @param string $table - * @return void + * @return \PDOStatement */ - abstract public function truncate($table); + public function truncate($table) + { + + $sql = ($this->has_truncate) + ? 'TRUNCATE ' + : 'DELETE FROM '; + + $sql .= $this->quote_table($table); + + $this->statement = $this->query($sql); + return $this->statement; + } } // End of db_pdo.php diff --git a/docs/files/drivers.firebird.firebird_driver.php.html b/docs/files/drivers.firebird.firebird_driver.php.html index 223353d..3fabd7d 100644 --- a/docs/files/drivers.firebird.firebird_driver.php.html +++ b/docs/files/drivers.firebird.firebird_driver.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.firebird.firebird_result.php.html b/docs/files/drivers.firebird.firebird_result.php.html index f0d78e1..1357d09 100644 --- a/docs/files/drivers.firebird.firebird_result.php.html +++ b/docs/files/drivers.firebird.firebird_result.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -384,7 +384,7 @@ data-fetching methods

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.firebird.firebird_sql.php.html b/docs/files/drivers.firebird.firebird_sql.php.html index 47b7d9d..96b065a 100644 --- a/docs/files/drivers.firebird.firebird_sql.php.html +++ b/docs/files/drivers.firebird.firebird_sql.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.firebird.firebird_util.php.html b/docs/files/drivers.firebird.firebird_util.php.html index 9c0269f..845288b 100644 --- a/docs/files/drivers.firebird.firebird_util.php.html +++ b/docs/files/drivers.firebird.firebird_util.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.mysql.mysql_driver.php.html b/docs/files/drivers.mysql.mysql_driver.php.html index cfeb9c6..e54d0d6 100644 --- a/docs/files/drivers.mysql.mysql_driver.php.html +++ b/docs/files/drivers.mysql.mysql_driver.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.mysql.mysql_sql.php.html b/docs/files/drivers.mysql.mysql_sql.php.html index 852805a..642b0b9 100644 --- a/docs/files/drivers.mysql.mysql_sql.php.html +++ b/docs/files/drivers.mysql.mysql_sql.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.mysql.mysql_util.php.html b/docs/files/drivers.mysql.mysql_util.php.html index 1a110eb..03b063a 100644 --- a/docs/files/drivers.mysql.mysql_util.php.html +++ b/docs/files/drivers.mysql.mysql_util.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.pgsql.pgsql_driver.php.html b/docs/files/drivers.pgsql.pgsql_driver.php.html index 858ba3d..cd1973e 100644 --- a/docs/files/drivers.pgsql.pgsql_driver.php.html +++ b/docs/files/drivers.pgsql.pgsql_driver.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.pgsql.pgsql_sql.php.html b/docs/files/drivers.pgsql.pgsql_sql.php.html index 78d12e7..78da08c 100644 --- a/docs/files/drivers.pgsql.pgsql_sql.php.html +++ b/docs/files/drivers.pgsql.pgsql_sql.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.pgsql.pgsql_util.php.html b/docs/files/drivers.pgsql.pgsql_util.php.html index 632e130..92279a1 100644 --- a/docs/files/drivers.pgsql.pgsql_util.php.html +++ b/docs/files/drivers.pgsql.pgsql_util.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.sqlite.sqlite_driver.php.html b/docs/files/drivers.sqlite.sqlite_driver.php.html index b9d954b..154572a 100644 --- a/docs/files/drivers.sqlite.sqlite_driver.php.html +++ b/docs/files/drivers.sqlite.sqlite_driver.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.sqlite.sqlite_sql.php.html b/docs/files/drivers.sqlite.sqlite_sql.php.html index 9c9c41c..b42500c 100644 --- a/docs/files/drivers.sqlite.sqlite_sql.php.html +++ b/docs/files/drivers.sqlite.sqlite_sql.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers.sqlite.sqlite_util.php.html b/docs/files/drivers.sqlite.sqlite_util.php.html index 840bcd8..01fa65f 100644 --- a/docs/files/drivers.sqlite.sqlite_util.php.html +++ b/docs/files/drivers.sqlite.sqlite_util.php.html @@ -139,28 +139,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -179,19 +179,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -211,10 +211,10 @@
- + Util
-
+
@@ -383,7 +383,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/files/drivers/firebird/firebird_driver.php.txt b/docs/files/drivers/firebird/firebird_driver.php.txt index 4db3a02..363645c 100644 --- a/docs/files/drivers/firebird/firebird_driver.php.txt +++ b/docs/files/drivers/firebird/firebird_driver.php.txt @@ -65,6 +65,13 @@ class Firebird extends Abstract_Driver { */ protected $service = NULL; + /** + * Firebird doesn't have the truncate keyword + * + * @var bool + */ + protected $has_truncate = FALSE; + /** * Open the link to the database * @@ -118,21 +125,6 @@ class Firebird extends Abstract_Driver { return $this->service; } - // -------------------------------------------------------------------------- - - /** - * Empty a database table - * - * @param string $table - * @return \PDOStatement - */ - public function truncate($table) - { - // Firebird lacks a truncate command - $sql = 'DELETE FROM '.$this->quote_table($table); - $this->statement = $this->query($sql); - return $this->statement; - } // -------------------------------------------------------------------------- diff --git a/docs/files/drivers/mysql/mysql_driver.php.txt b/docs/files/drivers/mysql/mysql_driver.php.txt index 0d628e6..a1afd86 100644 --- a/docs/files/drivers/mysql/mysql_driver.php.txt +++ b/docs/files/drivers/mysql/mysql_driver.php.txt @@ -52,18 +52,5 @@ class MySQL extends Abstract_Driver { parent::__construct($dsn, $username, $password, $options); } - - // -------------------------------------------------------------------------- - - /** - * Empty a table - * - * @param string $table - */ - public function truncate($table) - { - $table = $this->prefix_table($table); - $this->query("TRUNCATE `{$table}`"); - } } //End of mysql_driver.php diff --git a/docs/files/drivers/pgsql/pgsql_driver.php.txt b/docs/files/drivers/pgsql/pgsql_driver.php.txt index 63ee528..db431ee 100644 --- a/docs/files/drivers/pgsql/pgsql_driver.php.txt +++ b/docs/files/drivers/pgsql/pgsql_driver.php.txt @@ -40,19 +40,6 @@ class PgSQL extends Abstract_Driver { // -------------------------------------------------------------------------- - /** - * Empty a table - * - * @param string $table - */ - public function truncate($table) - { - $sql = 'TRUNCATE "' . $table . '"'; - $this->query($sql); - } - - // -------------------------------------------------------------------------- - /** * Get a list of schemas for the current connection * diff --git a/docs/files/drivers/sqlite/sqlite_driver.php.txt b/docs/files/drivers/sqlite/sqlite_driver.php.txt index bcdc3fc..abd4c5b 100644 --- a/docs/files/drivers/sqlite/sqlite_driver.php.txt +++ b/docs/files/drivers/sqlite/sqlite_driver.php.txt @@ -30,6 +30,13 @@ class SQLite extends Abstract_Driver { */ protected $statement; + /** + * SQLite has a truncate optimization, + * but no support for the actual keyword + * @var bool + */ + protected $has_truncate = FALSE; + /** * Open SQLite Database * @@ -44,23 +51,6 @@ class SQLite extends Abstract_Driver { parent::__construct("sqlite:{$dsn}", $user, $pass); } - // -------------------------------------------------------------------------- - - /** - * Empty a table - * - * @param string $table - */ - public function truncate($table) - { - // SQLite has a TRUNCATE optimization, - // but no support for the actual command. - $sql = 'DELETE FROM "'.$table.'"'; - - $this->statement = $this->query($sql); - - return $this->statement; - } // -------------------------------------------------------------------------- diff --git a/docs/graphs/class.html b/docs/graphs/class.html index 1cd9072..dde8c63 100644 --- a/docs/graphs/class.html +++ b/docs/graphs/class.html @@ -156,7 +156,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/namespaces/Query.Driver.SQL.html b/docs/namespaces/Query.Driver.SQL.html index 5a45ab1..4ab5466 100644 --- a/docs/namespaces/Query.Driver.SQL.html +++ b/docs/namespaces/Query.Driver.SQL.html @@ -91,28 +91,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -131,19 +131,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -163,10 +163,10 @@
- + Util
-
+
@@ -322,7 +322,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/namespaces/Query.Driver.Util.html b/docs/namespaces/Query.Driver.Util.html index 440d349..d87e24e 100644 --- a/docs/namespaces/Query.Driver.Util.html +++ b/docs/namespaces/Query.Driver.Util.html @@ -91,28 +91,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -131,19 +131,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -163,10 +163,10 @@
- + Util
-
+
@@ -315,7 +315,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/namespaces/Query.Driver.html b/docs/namespaces/Query.Driver.html index 1aa2d07..111c180 100644 --- a/docs/namespaces/Query.Driver.html +++ b/docs/namespaces/Query.Driver.html @@ -91,28 +91,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -131,19 +131,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -163,10 +163,10 @@
- + Util
-
+
@@ -334,7 +334,7 @@ data-fetching methods

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/namespaces/Query.Table.html b/docs/namespaces/Query.Table.html index 1f4607b..f000ed5 100644 --- a/docs/namespaces/Query.Table.html +++ b/docs/namespaces/Query.Table.html @@ -91,28 +91,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -131,19 +131,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -163,10 +163,10 @@
- + Util
-
+
@@ -313,7 +313,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/namespaces/Query.html b/docs/namespaces/Query.html index 0201f40..a314eae 100644 --- a/docs/namespaces/Query.html +++ b/docs/namespaces/Query.html @@ -91,28 +91,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -131,19 +131,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -163,10 +163,10 @@
- + Util
-
+
@@ -325,7 +325,7 @@ Query method

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/namespaces/default.html b/docs/namespaces/default.html index 8d5f966..a9a01c0 100644 --- a/docs/namespaces/default.html +++ b/docs/namespaces/default.html @@ -91,28 +91,28 @@
- + \
-
+
- + Query
-
+
- + Table
-
+
@@ -131,19 +131,19 @@
- + Driver
-
+
- + SQL
-
+
@@ -163,10 +163,10 @@
- + Util
-
+
@@ -747,7 +747,7 @@ connection created.


Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/reports/deprecated.html b/docs/reports/deprecated.html index 7af5f43..1a9b9c1 100644 --- a/docs/reports/deprecated.html +++ b/docs/reports/deprecated.html @@ -181,7 +181,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/reports/errors.html b/docs/reports/errors.html index 7f21554..5023a9e 100644 --- a/docs/reports/errors.html +++ b/docs/reports/errors.html @@ -201,7 +201,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.
diff --git a/docs/reports/markers.html b/docs/reports/markers.html index c3b1e11..7863d42 100644 --- a/docs/reports/markers.html +++ b/docs/reports/markers.html @@ -167,7 +167,7 @@

Documentation is powered by phpDocumentor and authored - on April 24th, 2014 at 15:16. + on April 24th, 2014 at 16:24.