phalcon / cphalcon

High performance, full-stack PHP framework delivered as a C extension.
https://phalcon.io
BSD 3-Clause "New" or "Revised" License
10.76k stars 1.96k forks source link

[NFR]: getBuilder() method for builder manager #15966

Closed TheAlg closed 2 years ago

TheAlg commented 2 years ago

I think it would be interesting to have more flexibility using builder, like adding new queries to the current builder instead of creating new one eache time. for example, I would like to add new queries after verifiying parameters passed to url, something like if ($param !== null){ $this->model->manager->getBuilder()->join(...) }

niden commented 2 years ago

Resolved in https://github.com/phalcon/cphalcon/pull/16008