Channels
prisma-migrate
prisma-whats-new
prisma-jobs
prismaserverless
prisma-in-production
random
graphql-nexus
job-board
prisma-client
prismaday
prisma1-community
prisma-go-community
prisma-studio
mongodb
product-wishlist
madewithprisma
prisma-data-platform
orm-help
Powered by
#orm-help
Title
# orm-help
h
Hasan
09/25/2022, 8:33 AM
is there a findoneorcreate function in the js lib ?
✅ 1
m
MrDrummer25
09/25/2022, 9:43 AM
upsert
is able to do the same thing
https://github.com/prisma/prisma-client-js/issues/85#issuecomment-660057346
n
Nurul
09/26/2022, 7:26 AM
Here’s an example on how you could achieve findOneOrCreate:
https://stackoverflow.com/questions/71524243/how-to-find-or-create-a-record-with-prisma
4 Views
Post