lastQuery

Returns the last executed query in string format.

Usage:

$db->{table}->lastQuery();

Example:

$news = $db->news->lastQuery();

Returns:

// SELECT * FROM news

Last updated