Expose Prisma Client #693
-
Just as express is exposed through the use of the
if this is already implemented or there is a better way of doing it, please let me know. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@sachaw can you share a larger snippet of your use-case? You might be interested in #645 and #465 which I think effectively answer this question (its tracked as an issue already). Feel free to follow or contribute into those issues. |
Beta Was this translation helpful? Give feedback.
-
@sachaw Note here that you can import the client as a regular node module. eg:
|
Beta Was this translation helpful? Give feedback.
@sachaw can you share a larger snippet of your use-case?
You might be interested in #645 and #465 which I think effectively answer this question (its tracked as an issue already). Feel free to follow or contribute into those issues.