All Questions
1 question
0
votes
0
answers
41
views
How can I avoid N+1 query issues when checking friend statuses in a list with Drizzle ORM?
Im using Drizzle ORM
I have this code in business layer to get list of users and represent them as Friend List
export const getFriendList = async (sessionUserId: number, userId: number) => {
...