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.

Is there a difference between find and findFirst ?

I just wonder is there more diffrence between find and findFirst or only this second return always one item from database instead of array ? So i can select columns, type of hydration etc in both find and findFirst ?


findFirst() will always return the first result of any query you do.


findFirst() and find() both receive the same parameters however the former returns one record maximum and find() always returns a resultset of records (0-n)