Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Database Access

Can Zephir work with databases?

That is, can I pass either a handle to a phalcon readConnectionService or something else to have direct access to a database.



1.9k
Accepted
answer

Yes, it can work with databases, Phalcon 2 uses PDO: https://github.com/phalcon/cphalcon/tree/2.0.0/phalcon/db

Thanks. This will probably cause a million more questions, but you've put me on the right path.