We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22444d5 commit 872f939Copy full SHA for 872f939
src/adapter.ts
@@ -9,6 +9,10 @@ export class PrismaAdapter implements Adapter {
9
#option?: Prisma.PrismaClientOptions;
10
#prisma: PrismaClient;
11
12
+ /**
13
+ * @param option It should be PrismaClientOptions or PrismaClient.
14
+ * You should later call open() to activate it.
15
+ */
16
constructor(option?: Prisma.PrismaClientOptions | PrismaClient) {
17
if (option instanceof PrismaClient) {
18
this.#prisma = option;
0 commit comments