Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can we support batch updateManyX interface? #4816

Open
javacode123 opened this issue Apr 7, 2024 · 0 comments
Open

can we support batch updateManyX interface? #4816

javacode123 opened this issue Apr 7, 2024 · 0 comments

Comments

@javacode123
Copy link

I have a table Authors, and i can update many cols with a single where input. such as:

updateManyAuthors(data: AuthorsUpdateManyMutationInput!, where: AuthorsWhereInput): AffectedRowsOutput

I want to know can we get a batch updateManyX interface to support batch update which contain single data and where input. such as:

input BatchUpadateManyAuthorsInput {
  data: AuthorsUpdateManyMutationInput!,
  where: AuthorsWhereInput
}
batchUpdateManyAuthors(data: [BatchUpadateManyAuthorsInput]!): AffectedRowsOutput
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant