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

About magic methods

  1. Does findByXXX() and findFirstByXXX() set automatic binded parameters and types?
  2. How I can use magic columns method (i.e., $model->getUserName()).


98.9k
Accepted
answer

If you're asking for the ODM:

Does findByXXX() and findFirstByXXX() set automatic binded parameters and types?

No

How I can use magic columns method (i.e., $model->getUserName()).

This is not supported



33.8k

I though I saw time ago my second question... but maybe it was just imaginations.



98.9k

Note that a ODM (Mongo) does not implement bound parameters