Skip to content

Wrong SQL query generated for many-to-many relationships? #408

Answered by dosco
andybar2 asked this question in Q&A
Discussion options

You must be logged in to vote

@andybar2 i'll take a look in the meanwhile try changing users to user

query { 
  organization_users (where: {organization_id: $id}) {
    role
    user {
      id
      name
      email
    }
  }
}

Replies: 1 comment 13 replies

Comment options

You must be logged in to vote
13 replies
@dosco
Comment options

@andybar2
Comment options

@andybar2
Comment options

@dosco
Comment options

@andybar2
Comment options

Answer selected by dosco
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants