guys, could we make an update to multiple IDs?
# orm-help
k
guys, could we make an update to multiple IDs?
w
You can update multiple IDs!
Copy code
mutation {
  updateManyBooks(data: {title: "New Title"}, where: {id_in: ["cjjp7276h000309668ahy02zc", "cjjp72c86000909665k4yym5g", "cjjp72epz000f0966wnsm9ml2"]}) {
    count
  }
}
k
thanks