Skip to content

How to filter inner collections in mutations? #4420

Answered by PascalSenn
alexander161198 asked this question in Q&A
Discussion options

You must be logged in to vote
mutation
{
  updateHotel(hotel: {name: "NewName"} where: {rooms: {some: {id: {gt:83} } } } )
  {
    countObjectsModified
    operation
    objectName
  }
}

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@PascalSenn
Comment options

@alexander161198
Comment options

@PascalSenn
Comment options

@alexander161198
Comment options

@PascalSenn
Comment options

Answer selected by alexander161198
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