Join Slack
Powered by
How do Prisma users keep track of <functions> in t...
# orm-help
j
Jared Salzano
06/03/2021, 7:16 PM
How do Prisma users keep track of
functions
in their DB?
Jared Salzano
06/03/2021, 8:21 PM
Should I just define functions in a SQL file and remember to run it against the db when migrating?
o
Omar Hamdan
06/03/2021, 8:58 PM
I don’t think Prisma really supports procedures I think the approach you outline in your reply it’s really the only one you can take
💯 1
👍 1
r
Ryan
06/04/2021, 5:06 AM
Yeah the above approach should work fine and using them via
$queryRaw
.
2
Views
Open in Slack
Previous
Next