public addForeignKey (mixed $tableName, mixed $schemaName,
public begin ([mixed $nesting]) Starts a transaction in the connection
implements Phalcon\Events\EventsAwar
public close () Closes the active connection returning success. Phalcon automatically closes and destroys active connections
public array getErrorInfo () Return the error info, if any
public useExplicitIdValue () Check whether the database system requires an explicit value for identity columns
public isUnderTransaction () Checks whether the connection is under a transaction
public array fetchAll (string $sqlQuery, [int $fetchMode], [array $bindParams], [array $bindTypes])
public escapeString (mixed $str) Escapes a value to avoid SQL injections according to the active charset in the connection
public dropPrimaryKey (mixed $tableName, mixed $schemaName) Drops a table’s primary key
Page 4 of 10