UNB Components Code Reference

UnbDatabase::ShowQueryInfo method

Shows query information and errors.

private function UnbDatabase::ShowQueryInfo ($ps, $r, $parameters, $time);

Parameters

ps

(PDO/PDOStatement) Prepared statement or PDO connection used to retrieve the error details

r

(bool) Result value. true: The query was successful. false: There was an error that should be displayed.

parameters

(array) Bound parameters used to execute the SQL query. Those will be inserted for every "?" when displaying the SQL query.

time

(float) Time in seconds it took to execute the query.

Uses data

UnbDatabase::DisplayQueryInfo

Member of class: UnbDatabase

Implementation file: database.class.php, line 261

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-06.