I want to use mongodb queries directly without the prisma. Is it possible? If possible, is this a good practice and will i be able to use all the functionalities of graphql, Like cursor based pagination and others?
Asked
Active
Viewed 210 times
0
-
Please give us as much specific info as possible related to your requirements. This question in its current state is too broad. – Peter Nov 07 '18 at 19:19
1 Answers
0
As per the Prisma documentation, you currently can't directly access the database through Prisma:
- rawAccess: Specifies whether the executeRaw mutation will be enabled in the Prisma API. The MongoDB connector currently doesn't support raw access, so you need to set this to false or omit it.

Errorname
- 2,228
- 13
- 23