Db\Profiler::startProfile

public Phalcon\Db\Profiler startProfile (string $sqlStatement, [mixed $sqlVariables], [mixed $sqlBindTypes]) Starts the profile of a SQL sentence

Db\Profiler::reset

public reset () Resets the profiler, cleaning up all the profiles

Db\Profiler::stopProfile

public stopProfile () Stops the active profile

Db\Profiler\Item

Source on GitHub This class identifies each profile in a Phalcon\Db\Profiler Methods public setSqlStatement (mixed $sqlStatement) SQL statement related to the profile public getSqlStatement () SQL statement related to the profile public setSqlVariables (array $sqlVariables) SQL variables related to the profile public getSqlVariables () SQL variables related to the profile public setSqlBindTypes (array $sqlBindTypes) SQL bind types related to the profile public getSqlBindTypes () SQL bind types

Db\Profiler

Source on GitHub Instances of Phalcon\Db can generate execution profiles on SQL statements sent to the relational database. Profiled information includes execution time in milliseconds. This helps you to identify bottlenecks in your applications. $profiler = new \Phalcon\Db\Profiler(); //Set the connection profiler $connection->setProfiler($profiler); $sql = "SELECT buyer_name, quantity, product_name FROM buyers LEFT JOIN products ON buyers.pid=products.id"; //Execute a SQL statement $con

Db\IndexInterface

Source on GitHub Methods abstract public getName () ... abstract public getColumns () ... abstract public getType () ... abstract public static __set_state (array $data) ...

Db\IndexInterface::__set_state

abstract public static __set_state (array $data) ...

Db\Index::getType

public getType () Index type

Db\IndexInterface::getColumns

abstract public getColumns () ...

Db\IndexInterface::getName

abstract public getName () ...