-
Notifications
You must be signed in to change notification settings - Fork 44
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
executeRaw support #262
Comments
Hey @terion-name 👋, Could you explain in a bit more detail what you have in mind with |
@terion-name I believe this hasn't been implemented after all. I checked the schema which is exposed by Prisma instance itself, and there seems to be no Please note that |
Hey @terion-name, I cannot reproduce your issue. Prisma Binding correctly generates prisma.mutation.executeRaw({
query: ""
}) I advise you check out the instructions in the documentation. I followed them, and it seems to be working. I hope they help you as well 🙂 In case they don't, please compose a CodeSandbox or a simple Github repo with reproduction. Additionally, I would like to point out this is not connected to https://www.prisma.io/docs/prisma-graphql-api/reference/raw-database-access-qwe4/ |
@maticzav hm. I've tried, but it didn't work. This is strange, I'll check once more. Thank you |
@terion-name, are you trying to use |
@maticzav self-hosted (1.19 running in docker) |
@terion-name I am unable to reproduce your issue. Did you restart the |
Can you try to regenerate your schema.graphql ? According to prisma doc, your files should look like this : .graphqlconfig.yml
prisma.yml
Running Now, use the generated schema.graphql as the typedef argument of your Prisma instance :
You now have access to executeRaw in prisma.mutation.executeRaw. |
my prisma-binding also doesn't expost executeRaw , |
Now in the
I hope it helped. |
Why does
executeRaw
is not supported here?Using Prisma client is not an option for my case. Can this be added?
The text was updated successfully, but these errors were encountered: