docs
docs copied to clipboard
📚 Prisma Documentation
Resolves #6839
Bumps [umbrelladocs/action-linkspector](https://github.com/umbrelladocs/action-linkspector) from 1.3.4 to 1.3.5. Release notes Sourced from umbrelladocs/action-linkspector's releases. Release v1.3.5 v1.3.5: PR #45 - Update linkspector version to 0.4.5 Commits e2ccef5 Merge pull request #45 from...
I was using this with HONO and encountered a bad issue with autoGeneration of client where the import for prismaClient was not working when using with edge .
I've been looking through the documentation for a way to compare differences between a Turso remote database, but it seems the CLI doesn't offer any `--to-turso` flag. Even the documentation...
I found through trial and error that `.env` is no longer read automatically with the new client generator `prisma-client`. I believe this change originated in https://github.com/prisma/prisma/pull/26779 (see last bullet point...
I was following this tutorial in creating hello-prisma in https://www.prisma.io/docs/getting-started/setup-prisma/start-from-scratch/relational-databases-typescript-prismaPostgres?utm_source=cli&utm_medium=promo-generate-v5-17&utm_campaign=--optimize On running `node index.js`, I was met with the error message `MODULE_NOT_FOUND`. Full error log below. ## What fixed the...
I was reading [this article](https://www.prisma.io/docs/orm/prisma-schema/data-model/indexes?utm_source=docs&utm_medium=orm-docs#configuring-the-index-sort-order-with-sort) when I stumbled upon this SQL: ```sql CREATE TABLE `Unique` ( `unique` INT, CONSTRAINT `Unique_unique_key` UNIQUE (`unique` DESC) ) ``` I didn't know you could...
reproduce with this snippet: ````md ```typescript file=app/routes/index.tsx showLineNumbers import { PrismaClient } from "../generated/prisma"; import { createServerFn } from "@tanstack/react-start"; import { createFileRoute } from "@tanstack/react-router"; const prisma = new...
## Problem I don't have a good solution for writing unit tests for the queries I'm writing with Prisma. I would like to be able to write tests that run...
I recently gained experience setting up database connections for PostgreSQL and MongoDB in [NestJS](https://docs.nestjs.com/recipes/prisma). Looking back at my solution, I think it might be a good idea to update the...