I'm quite new to ORM's and just a bit experienced with MVC, so I was wondering the following:
I have ORM models User, Organization.. When I want to search all users in organization 1 I do the following:
$users = Model_User::query()->where('organisation_id', 1);
Should i just put that straight in the controller, or somewhere else?