Upsert with delete functionality
Open
Nobody has claimed this yet.
kind/feature
topic: client api
topic: delete()
topic: upsert
topic: upsert()
- Dominant language
- TypeScript
- Stars
- 47.6k
- Forks
- 2.5k
- Avg merge
- 21h 59m
- Merged PRs (30d)
- 95
Description
Problem
Like I explained here https://github.com/prisma/prisma/discussions/2253
It would be a good idea, I think, to have an upsert or set API like with delete support.
Solution
I don't have solution, or API in mind
Alternatives
Actually, I'm upserting, then delete "unused" things from time to time, but kinda annoying..
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked discussion at https://github.com/prisma/prisma/discussions/2253 and comparing the existing upsert, set, and delete API behavior described in the issue. Done would require an agreed API design and corresponding support for deleting records that are not included in the upsert operation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- databases
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100