https://www.prisma.io/ logo
#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
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