Unable to find table (not available) but it exists
Did Prisma.raw and Prisma.sql helpers get removed?
.raw and .sql helpers/methods. For example query = Prisma.raw(`${query1}${query2}`). For Prisma 5.14 this works fine, but not in 5.15.1. I initially found it while updating lint, so thought the Property 'raw' does not exist on type 'typeof Prisma'. error I'm seeing in the IDE may have just been cruft. But, in fact, when testing in a real client, it no longer works: Error: Prisma.raw is not a function. This usage is still i...Prisma Nuxt RollupError
npm run dev, it results in the error ```ℹ Vite server warmed up in 3864ms 9:33:51 AM
ℹ Vite client warmed up in 5284ms 9:33:52 AM
[9:33:52 AM] WARN [plugin inject] node_modules/.pnpm/@prisma+nuxt@0.0.30_magicast@0.3.4nuxt@3.12.2@opentelemetry+api@1.9.0_@parcel+watcher@2.4.1_2uyq5cr4225ns57lx4llpfiydq/node_modules/@prisma/nuxt/dist/runtime/server/utils/prisma.d.ts: rollup-plugin-inject: failed to parse /home/joe/novaint/node_modules/.pnpm/@prisma+nuxt@0.0.30_magicast@0.3.4nuxt@3.12.2@opentelemetry+api@1.9.0_@parcel+watcher@2.4.1_2uyq5cr4225ns57lx4llpfiydq/node_modules/@prisma/nuxt/dist/runtime/server/utils/prisma.d.ts. Consider restricting the plugin to particular files via options.include
...Random findMany is not a function errors
prisma.profile.findMany is not a function.
Once i restart the application, it starts working, but again after sometime the error comes up
I'm using Prisma with NodeJS Express server....Could not connect to server at http://localhost:4467. Please check if your server is running.
Where is my environment var coming from?
.env file. I did this 5 months ago but I know I didn't want my database info in my repo. It would make sense that I would create an environment var in my localhost only I don't remember doing so and when I type printenv DATABASE_URL isn't listed. That said when I build my app I get an error saying it can't connect to my old provider so it's getting it from somewhere
I have the following in my schema but no idea where I set it - anyone have any ideas?
```
datasource db {...omit with condition
omitArray function for anyone finding this later
```ts
export function omitArray<Data extends object, Keys extends keyof Data>(
data: Data[],...How to cover this custom SQL with Prisma
length() of column
Unit testing a result extension
result extension - but how do I test it without spinning up an actual integration test?
Much obliged!
M....How to populate array in one-to-many relationship (or may be even persist)?
Invalid `prisma.account.findUnique()` invocation:
http://localhost:3000/api/auth/error?error=AdapterError
Here's the error log:
```log
[auth][error] AdapterError: Read more at https://errors.authjs.dev#adaptererror...How can we do arbitrary atomic number operation in prisma?
SET avg = (avg + newValue) / (count + 1)
SET avg = (avg + newValue) / (count + 1)
Accelerate migration not happening Vercel Prod but does with Vercel Preview
Local sqlite db in monorepo with nextJS trying to find table 'main.TABLE' instead of 'TABLE'
Prisma runtime error using direct db access in parallel with Accelerate on Vercel
Error validating datasource `db`: the URL must start with the protocol `prisma://`
Error validating datasource `db`: the URL must start with the protocol `prisma://`
Multiple relation between models
User and Post. I want the user to have the fields posts (his own posts) and favoritePosts (the posts he liked).
I made this but it doesn't work:
```js...prisma is generating some crappy migrations for no reason
ActionDependencyList_pkey and add it again after?
```bash...Pointing two relations to same field?
Cannot read properties of undefined (reading 'kind')