How to use query builder without models?

One of the great things with phalcon is that it is loosely coupled and it is possible to use every component/service separately.

I want to use query builder in my app but i had to define models for every table that i need in queries, but i dont want to define models because of some reasons. Is there any way with phalcon to accomplish this?



9.8k

Gotcha... I'm pretty sure it's not possible to use PHQL outside of models.