Phalcon\Db\Adapter\Pdo\Mysql

https://docs.phalconphp.com/en/latest/api/Phalcon_Db_Adapter_Pdo_Mysql.html

describes following methods:

public getSQLStatement () inherited from Phalcon\Db\Adapter

Active SQL statement in the object

public getRealSQLStatement () inherited from Phalcon\Db\Adapter

Active SQL statement in the object without replace bound paramters

which does't seem to work.

Zephyr source:

    /**
     * Active SQL statement in the object
     */
    public function getSQLStatement() -> string
    {
        return this->_sqlStatement;
    }

    /**
     * Active SQL statement in the object without replace bound paramters
     */
    public function getRealSQLStatement() -> string
    {
        return this->_sqlStatement;
    }

https://api.phalconphp.com/source/Phalcon/Db/Adapter.html