How to perform this complex query with subquery by supabase-js? #31319
Unanswered
dule-kitemetric
asked this question in
Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Context
projects(id, name)
and a tableproject_members(id, project_id, user_id, roles)
.roles
is an array of project member roles. It can bemanager
,developer
,tester
,... since a user can have multiple project rolesdeveloper
and user2 (user_id = 2) istester
.developer
and (user21 or user22 or user23 or ...) astester
Question
developer
) and have (a member in that same project with user_id = 2 and roles includetester
)"Example:
Thank you so much
Beta Was this translation helpful? Give feedback.
All reactions