We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Use PDO adapter with SQL

Hello everyone,

I start new project and I have to use Sql instead of MySql, So I'm asking how could I configure my adapter to use data from SQL Server( 2008 R2).

https://docs.phalcon.io/en/latest/reference/db.html#database-adapters

Currently doesn't exist MSSQL adapter in Phalcon but you can make your own adapter with Phalcon\Db\AdapterInterface .

https://docs.phalcon.io/en/latest/api/Phalcon_Db_AdapterInterface.html