Skip to content

Commit c755b28

Browse files
Merge pull request #2059 from pobch/patch-2
docs(prisma): Typo
2 parents 2925348 + df0a343 commit c755b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/recipes/prisma.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export class PrismaService extends PrismaClient
266266
}
267267
```
268268

269-
> info **Note** The `onModuleInit` is optional — if you leave it out, Prisma will connect lazily on its first call to the database. We don't bother with `onModuleDestroy`, since Prisma has its own shutdown hooks where it will destroy the connection. For more info on `enableShutdownHooks`, please see [Issues with `enableShutdownHooks`](recipes/prisma#issues-with-enableShutdownHooks)
269+
> info **Note** The `onModuleInit` is optional — if you leave it out, Prisma will connect lazily on its first call to the database. We don't bother with `onModuleDestroy`, since Prisma has its own shutdown hooks where it will destroy the connection. For more info on `enableShutdownHooks`, please see [Issues with `enableShutdownHooks`](recipes/prisma#issues-with-enableshutdownhooks)
270270
271271
Next, you can write services that you can use to make database calls for the `User` and `Post` models from your Prisma schema.
272272

0 commit comments

Comments
 (0)