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 3461f22 commit 47e0a10Copy full SHA for 47e0a10
content/200-orm/200-prisma-client/300-client-extensions/100-model.mdx
@@ -148,8 +148,8 @@ For example:
148
// `context` refers to the current model
149
const context = Prisma.getExtensionContext(this)
150
151
-// `context.name` returns the name of the current model
152
-console.log(context.name)
+// `context.$name` returns the name of the current model
+console.log(context.$name)
153
154
// Usage
155
await(context as any).findFirst({ args })
0 commit comments