$mysqli
$mysqli : \mysqli
__construct(callback $get_connection_func, array $sample)
Constructor. See class documentation for explanation of the parameters
callback | $get_connection_func | The callback function |
array | $sample | array of information about the query |
if a database connection cannot be made
if $get_connection_func is not a function
get_tables_from_query(\QueryTableParser $parser) : array
Try to parse the real table names out of a sql query
\QueryTableParser | $parser | instance of QueryTableParser() |
the list of tables in the query