Hey…
In Users table I have person_id column that is related to person table( 1:1 relation),
so when user loggedin i need to get its person info. I’m trying to get rid of auto load, and use set queryBuilder.related(“person_id”) ,but this will only work when using .findById() or find() as i know.
Is there any way to get person without auto load ?
I do have an expected solution, I can login and get loggedIn user’s object id and then find person where ownerId=user.objectid.
but is it a clean code?