docs
docs copied to clipboard
📚 Prisma Documentation
Add links to page https://github.com/prisma/docs/blob/main/content/200-concepts/100-components/02-prisma-client/090-raw-database-access.mdx for syntax guide how to use all CRUD commands: we have only `insert`, and need add other - example for **update**: https://www.mongodb.com/docs/manual/reference/command/update/#mongodb-dbcommand-dbcmd.update https://www.mongodb.com/docs/manual/reference/command/update/#std-label-update-statement-documents or add...
Users that are not used to querying PostgreSQL directly but need to use `queryRaw` for some reason can easily get confused because of some Postgres behaviour, here is an example...
We very often have users that ask for a specific Prisma Client query where our answer is: "You have to use `queryRaw` because what you want is not yet actively...
Based on this issue: https://github.com/prisma/prisma/issues/12124 ```ts const users = await prisma.user.findRaw({ filter: { _id: { $eq: { $oid: "6202ec178be26d2b28adc075" } }, }, }) ```
would be nice to see quotes around raw sql queries in docs. was confusing to a new user like me when they didn't work for the default tables that prisma...
**(Written by @Weakky, where he provided a nice explanation of the problem)** We have a couple of issues where people are misusing `$queryRaw` - https://github.com/prisma/prisma/issues/12456 - https://github.com/prisma/prisma/issues/10051 - https://github.com/prisma/prisma/issues/12531 We...
In [this section](https://www.prisma.io/docs/concepts/components/prisma-client/raw-database-access#raw-query-type-mapping) of the raw database access doc, the table is perhaps too simple, because the details are not true for all database engines. Flavian pointed out that there...
The Prisma Data Proxy requires users to set the env var `PRISMA_CLIENT_ENGINE_TYPE` to use the value `dataproxy`. The value of `dataproxy` refers to the PDP Data Proxy, and *can be...
There's an expectation that .env file should be in root - Prisma expects it in prisma folder unless you use the schema flag or load it manually via dot-env
https://prisma-company.slack.com/archives/C5Z9TH6N9/p1607508776067500?thread_ts=1607508716.067200&cid=C5Z9TH6N9