$table
-$table : \Query\Table\Table_Builder-
Reference to table_builder class
- - -diff --git a/docs/classes/Query.Abstract_Query_Builder.html b/docs/classes/Query.Abstract_Query_Builder.html index 63a7eea..989b88d 100644 --- a/docs/classes/Query.Abstract_Query_Builder.html +++ b/docs/classes/Query.Abstract_Query_Builder.html @@ -139,37 +139,59 @@
parent for database manipulation subclasses
- - -Abstract class defining database / table creation methods
- - -__construct(\Query\Driver\Driver_Interface $conn)
- Save a reference to the connection object for later use
- - -\Query\Driver\Driver_Interface | -$conn | -- |
get_driver() : \Query\Driver\Driver_Interface-
Get the driver object for the current connection
- - - - -create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string-
Convenience public function to generate sql for creating a db table
- - -string | -$name | -- |
array | -$fields | -- |
array | -$constraints | -- |
bool | -$if_not_exists | -- |
delete_table(string $name) : string
- Drop the selected table
- - -string | -$name | -- |
- todo - | -- | -
---|
backup_structure() : string-
Return an SQL file with the database table structure
- - - - -- todo - | -- | -
---|
backup_data() : string-
Return an SQL file with the database data as insert statements
- - - - -- todo - | -- | -
---|
$table : \Query\Table\Table_Builder-
Reference to table_builder class
- - -- todo - | -- | -
---|
Firebird Specific SQL
- - -- todo - | -- | -
---|
limit(string $sql, int $limit, int|bool $offset) : string-
Limit clause
- - -string | -$sql | -- |
int | -$limit | -- |
int|bool | -$offset | -- |
- todo - | -- | -
---|
explain(string $sql) : string
- Get the query plan for the sql query
- - -string | -$sql | -- |
- todo - | -- | -
---|
- todo - | -- | -
---|
db_list() : NULL-
Returns sql to list other databases
- - - - -- todo - | -- | -
---|
table_list() : string-
Returns sql to list tables
- - - - -- todo - | -- | -
---|
system_table_list() : string-
Returns sql to list system tables
- - - - -- todo - | -- | -
---|
view_list() : string-
Returns sql to list views
- - - - -- todo - | -- | -
---|
trigger_list() : string-
Returns sql to list triggers
- - - - -- todo - | -- | -
---|
function_list() : string-
Return sql to list functions
- - - - -- todo - | -- | -
---|
procedure_list() : string-
Return sql to list stored procedures
- - - - -- todo - | -- | -
---|
sequence_list() : string-
Return sql to list sequences
- - - - -- todo - | -- | -
---|
column_list(string $table) : string
- Return sql to list columns of the specified table
- - -string | -$table | -- |
- todo - | -- | -
---|
type_list() : string-
SQL to show list of field types
- - - - -- todo - | -- | -
---|
Firebird-specific backup, import and creation methods
- - -- todo - | -- | -
---|
- todo - | -- | -
---|
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string-
Convenience public function to generate sql for creating a db table
- - -string | -$name | -- |
array | -$fields | -- |
array | -$constraints | -- |
bool | -$if_not_exists | -- |
- todo - | -- | -
---|
delete_table(string $name) : string
- Drop the selected table
- - -string | -$name | -- |
- todo - | -- | -
---|
backup_structure() : string-
Return an SQL file with the database table structure
- - - - -- todo - | -- | -
---|
backup_data() : string-
Return an SQL file with the database data as insert statements
- - - - -- todo - | -- | -
---|
__construct(\Query\Driver\Driver_Interface $conn)
- Save a reference to the connection object for later use
- - -\Query\Driver\Driver_Interface | -$conn | -- |
- todo - | -- | -
---|
get_driver() : \Query\Driver\Driver_Interface-
Get the driver object for the current connection
- - - - -- todo - | -- | -
---|
quote_ident(string $sql) : string
- - - -
string | -$sql | -- |
None found |
quote_table(string $sql) : string
- - - -
string | -$sql | -- |
None found |
$table : \Query\Table\Table_Builder-
Reference to table_builder class
- - -- todo - | -- | -
---|
MySQL specifc SQL
- - -- todo - | -- | -
---|
limit(string $sql, int $limit, int|bool $offset) : string-
Limit clause
- - -string | -$sql | -- |
int | -$limit | -- |
int|bool | -$offset | -- |
- todo - | -- | -
---|
explain(string $sql) : string
- Get the query plan for the sql query
- - -string | -$sql | -- |
- todo - | -- | -
---|
- todo - | -- | -
---|
db_list() : string-
Returns sql to list other databases
- - - - -- todo - | -- | -
---|
table_list(string $database) : string
- Returns sql to list tables
- - -string | -$database | -- |
- todo - | -- | -
---|
system_table_list() : string-
Overridden in MySQL class
- - - - -- todo - | -- | -
---|
view_list() : string-
Returns sql to list views
- - - - -- todo - | -- | -
---|
trigger_list() : string-
Returns sql to list triggers
- - - - -- todo - | -- | -
---|
function_list() : string-
Return sql to list functions
- - - - -- todo - | -- | -
---|
procedure_list() : string-
Return sql to list stored procedures
- - - - -- todo - | -- | -
---|
sequence_list() : NULL-
Return sql to list sequences
- - - - -- todo - | -- | -
---|
type_list() : string-
SQL to show list of field types
- - - - -- todo - | -- | -
---|
column_list(string $table) : string
- SQL to show infromation about columns in a table
- - -string | -$table | -- |
- todo - | -- | -
---|
MySQL-specific backup, import and creation methods
- - -- todo - | -- | -
---|
- todo - | -- | -
---|
backup_structure() : string-
Return an SQL file with the database table structure
- - - - -- todo - | -- | -
---|
backup_data() : string-
Return an SQL file with the database data as insert statements
- - - - -- todo - | -- | -
---|
__construct(\Query\Driver\Driver_Interface $conn)
- Save a reference to the connection object for later use
- - -\Query\Driver\Driver_Interface | -$conn | -- |
- todo - | -- | -
---|
get_driver() : \Query\Driver\Driver_Interface-
Get the driver object for the current connection
- - - - -- todo - | -- | -
---|
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string-
Convenience public function to generate sql for creating a db table
- - -string | -$name | -- |
array | -$fields | -- |
array | -$constraints | -- |
bool | -$if_not_exists | -- |
- todo - | -- | -
---|
delete_table(string $name) : string
- Drop the selected table
- - -string | -$name | -- |
- todo - | -- | -
---|
quote_ident(string $sql) : string
- - - -
string | -$sql | -- |
None found |
quote_table(string $sql) : string
- - - -
string | -$sql | -- |
None found |
$table : \Query\Table\Table_Builder-
Reference to table_builder class
- - -- todo - | -- | -
---|
PostgreSQL specifc SQL
- - -- todo - | -- | -
---|
explain(string $sql) : string
- Get the query plan for the sql query
- - -string | -$sql | -- |
- todo - | -- | -
---|
- todo - | -- | -
---|
db_list() : string-
Returns sql to list other databases
- - - - -- todo - | -- | -
---|
table_list() : string-
Returns sql to list tables
- - - - -- todo - | -- | -
---|
system_table_list() : string-
Returns sql to list system tables
- - - - -- todo - | -- | -
---|
view_list() : string-
Returns sql to list views
- - - - -- todo - | -- | -
---|
trigger_list() : string-
Returns sql to list triggers
- - - - -- todo - | -- | -
---|
function_list() : NULL-
Return sql to list functions
- - - - -- todo - | -- | -
---|
procedure_list() : string-
Return sql to list stored procedures
- - - - -- todo - | -- | -
---|
sequence_list() : string-
Return sql to list sequences
- - - - -- todo - | -- | -
---|
column_list(string $table) : string
- Return sql to list columns of the specified table
- - -string | -$table | -- |
- todo - | -- | -
---|
type_list() : string-
SQL to show list of field types
- - - - -- todo - | -- | -
---|
fk_list(string $table) : string
- Get the list of foreign keys for the current -table
- - -string | -$table | -- |
- todo - | -- | -
---|
index_list(string $table) : array
- Get the list of indexes for the current table
- - -string | -$table | -- |
- todo - | -- | -
---|
limit(string $sql, int $limit, int|bool $offset) : string-
Limit clause
- - -string | -$sql | -- |
int | -$limit | -- |
int|bool | -$offset | -- |
- todo - | -- | -
---|
Posgres-specific backup, import and creation methods
- - -- todo - | -- | -
---|
- todo - | -- | -
---|
backup_structure() : string-
Return an SQL file with the database table structure
- - - - -- todo - | -- | -
---|
backup_data() : string-
Return an SQL file with the database data as insert statements
- - - - -- todo - | -- | -
---|
__construct(\Query\Driver\Driver_Interface $conn)
- Save a reference to the connection object for later use
- - -\Query\Driver\Driver_Interface | -$conn | -- |
- todo - | -- | -
---|
get_driver() : \Query\Driver\Driver_Interface-
Get the driver object for the current connection
- - - - -- todo - | -- | -
---|
create_table(string $name, array $fields, array $constraints, bool $if_not_exists) : string-
Convenience public function to generate sql for creating a db table
- - -string | -$name | -- |
array | -$fields | -- |
array | -$constraints | -- |
bool | -$if_not_exists | -- |
- todo - | -- | -
---|
delete_table(string $name) : string
- Drop the selected table
- - -string | -$name | -- |
- todo - | -- | -
---|
quote_ident(string $sql) : string
- - - -
string | -$sql | -- |
None found |
quote_table(string $sql) : string
- - - -
string | -$sql | -- |
None found |