-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hard to understand how to use this package #6
Comments
I'm have the same problem :/ |
this is what im doing but i still get an error
Cannot read properties of undefined (reading 'toLowerCase') My 'model' is not being read |
Hi, this refers to the model of the class you'd want to access. From your example, we'd have something like this: export class Product { const { PrismaClient } = require('@prisma/client');
|
I ran into this problem as well. For mine to work, I had to reference the model name like this. |
Hi,
I've been trying to make this package work for an hour but the documentation for how to actually use this package is unclear. Could you add a runnable code example or tests that would show how to use it?
In particular, I couldn't understand where the model field must come from.
Thanks.
The text was updated successfully, but these errors were encountered: