-
Referencing how this example is set up, I'd like to be able to call |
Beta Was this translation helpful? Give feedback.
Answered by
Angelelz
Mar 6, 2024
Replies: 1 comment 1 reply
-
You can do: const users = await db.query.users.findFirst({
with: {
userToGroups: {
with: {
groups: true
}
}
}
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
andyrue
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do: