74
Phalcon Layer
It powers the model layer in the framework. It is found under the directory PhalconDb. It consists of abstraction layer which is written in C programming language.
Database Adapter
Phalcon uses PDO_ to connect to databases. It supports following Database engines:
Class | Description |
---|---|
PhalconDbAdapterPdoMysql | It is the most used relational database management system (RDBMS) that runs as a server providing multi-user access to a number of databases. |
PhalconDbAdapterPdoPostgresql | PostgreSQL is a powerful, open source relational database system. It provides reliability, data integrity, and correctness. |
PhalconDbAdapterPdoSqlite | SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine |
Implementation
Database Dialects
Phalcon stores specific details of database engine in dialects.
Class | Description |
---|---|
PhalconDbDialectMysql | SQL specific dialect for MySQL database system |
PhalconDbDialectPostgresql | SQL specific dialect for PostgreSQL database system |
PhalconDbDialectSqlite | SQL specific dialect for SQLite database system |
Next TopicPhalcon Connect to database