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 3ce431f commit f2d8cbaCopy full SHA for f2d8cba
packages/runtime/src/enhancements/node/delegate.ts
@@ -1575,6 +1575,9 @@ export class DelegateProxyHandler extends DefaultPrismaProxyHandler {
1575
private getUpdatedAtFromDelegateBases(model: string) {
1576
const result: FieldInfo[] = [];
1577
const modelFields = getFields(this.options.modelMeta, model);
1578
+ if (!modelFields) {
1579
+ return result;
1580
+ }
1581
for (const fieldInfo of Object.values(modelFields)) {
1582
if (
1583
fieldInfo.attributes?.some((attr) => attr.name === '@updatedAt') &&
0 commit comments