Db::FETCH_COLUMN

integer FETCH_COLUMN

Db::FETCH_CLASSTYPE

integer FETCH_CLASSTYPE

Db::FETCH_CLASS

integer FETCH_CLASS

Db::FETCH_BOUND

integer FETCH_BOUND

Db::FETCH_BOTH

integer FETCH_BOTH

Db::FETCH_ASSOC

integer FETCH_ASSOC

Db

Source on GitHub Phalcon\Db and its related classes provide a simple SQL database interface for Phalcon Framework. The Phalcon\Db is the basic class you use to connect your PHP application to an RDBMS. There is a different adapter class for each brand of RDBMS. This component is intended to lower level database operations. If you want to interact with databases using higher level of abstraction use Phalcon\Mvc\Model. Phalcon\Db is an abstract class. You only can use it with a database adapter l

Database Migrations

Migrations are a convenient way for you to alter your database in a structured and organized manner. Important: Migrations are available in Phalcon Developer Tools You need at least Phalcon Framework version 0.5.0 to use developer tools. Also, it is recommended to have PHP 5.4 or greater installed. Often in development we need to update changes in production environments. Some of these changes could be database modifications like new fields, new tables, removing indexes, etc. When a migratio

Database Abstraction Layer

Phalcon\Db is the component behind Phalcon\Mvc\Model that powers the model layer in the framework. It consists of an independent high-level abstraction layer for database systems completely written in C. This component allows for a lower level database manipulation than using traditional models. This guide is not intended to be a complete documentation of available methods and their arguments. Please visit the API for a complete reference. Database Adapters This component makes use of adapter

Crypt\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin