Add findOneByField method to Model class
This method allows a single object to be loaded from the database, selected using the given field/value pair.
This method allows a single object to be loaded from the database, selected using the given field/value pair.