© 2026 Hedgehog Software, LLC
const convertBigIntExt = Prisma.defineExtension({ name: 'convertBigIntExt', query: { $allOperations: async ({ args, query }) => { const result = await query(args); return JSON.parse( JSON.stringify(result, (_key, value) => typeof value === 'bigint' ? value.toString() : value, ), ); }, }, });
BigInt
field as unknown as string