System:Model:getLastQuery

From Aspen Documentation

Returns the last run query.

Since 1.0

Contents

Arguments

string getLastQuery ()

Returns

Returns a string of the last run query.

Notes

  • For all queries, enable logging.

Examples

Example:

$this->APP->model->getLastQuery();