[QueryExplain] element index

Package indexes

All elements
e g q r _
_
top
__construct
QueryExplain::__construct() in QueryExplain.php
Constructor. See class documentation for explaination of the parameters
e
top
explain
QueryExplain::explain() in QueryExplain.php
If the given query is a SELECT statement, return the explain plan
g
top
get_create
QueryExplain::get_create() in QueryExplain.php
Extract the table names from a query, and return the result of SHOW CREATE TABLE tablename;
get_tables_from_query
Try to parse the real table names out of a sql query
get_table_status
Extract the table names and the return the result of SHOW TABLE STATUS LIKE 'tablename' for each table;
q
top
QueryExplain
QueryExplain in QueryExplain.php
class QueryExplain rough utility class to get query explain plan and extract table names from abitrary sql so we can run show create table on them.
QueryExplain.php
QueryExplain.php in QueryExplain.php
r
top
result_as_table
given a mysqli result handle, format a string to look like the mysql cli
e g q r _