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.

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()).


84.5k
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



19.6k

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



84.5k

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