Result type for the field encryption extension.
This is typed broadly because the actual Prisma extension type depends on the user's generated Prisma Client.
const ext: FieldEncryptionExtension = { name: "field-encryption", query: { user: { create: async ({ args, query }) => query(args) } },}; Copy
const ext: FieldEncryptionExtension = { name: "field-encryption", query: { user: { create: async ({ args, query }) => query(args) } },};
Unique extension name used by Prisma for identification.
Per-model query handlers that intercept reads and writes.
Result type for the field encryption extension.
This is typed broadly because the actual Prisma extension type depends on the user's generated Prisma Client.
Example