I have User & Address tables & models, for users I have ids [23, 45, 54] & I want to fetch Addresses for those users.
What will be best practice to fetch data?
I was trying somewhat like,
userRepository.find({
where: [23, 45, 54],
includes: [{relation: 'address'}]
})
Above will not work, I know as I am new to this loopback 4 & did not work with exception.