Db::FETCH_CLASSTYPE

integer FETCH_CLASSTYPE

Db::FETCH_CLASS

integer FETCH_CLASS

Db::FETCH_INTO

integer FETCH_INTO

Db::FETCH_COLUMN

integer FETCH_COLUMN

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 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

Db::FETCH_BOTH

integer FETCH_BOTH

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

Db::FETCH_ASSOC

integer FETCH_ASSOC

CryptInterface::setCipher

abstract public setCipher (mixed $cipher) ...