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

Closed
javacode123 opened this issue Apr 7, 2024 · 1 comment
Closed

can we support batch updateManyX interface? #4816

javacode123 opened this issue Apr 7, 2024 · 1 comment

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
@jkomyno
Copy link
Contributor

jkomyno commented Jan 17, 2025

Hello, unfortunately we don't plan high-level API changes anytime soon.

For more insight into our priorities and how we’re thinking about the future of the Prisma ORM, please see our recent blog post: https://www.prisma.io/blog/prisma-orm-manifesto.

Thank you for your understanding and support!

@jkomyno jkomyno closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2025
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

2 participants