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

PSQL to QueryBuilder

Can I create a \Phalcon\Mvc\Model\Query\Builder object from a query (PSQL, SQL or Query Object)?

Let me explain, I need to save the query and modify it later in a simple way. The Builder would be perfect.

Thank you all for your attention, bye

-- Tatur

As far as I know, there's no way to create a Builder object from those 2 strings or 1 object).

How do you need to modify it? String modification might be up to the task.