Browse Source

fix: missing prop for extractCompositePK

pull/8490/head
mertmit 6 months ago
parent
commit
9028932051
  1. 6
      packages/nocodb/src/db/BaseModelSqlv2.ts

6
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -2817,7 +2817,7 @@ class BaseModelSqlv2 {
? response?.[0]?.[ai.id] ? response?.[0]?.[ai.id]
: response?.[ai.id]; : response?.[ai.id];
response = await this.readByPk( response = await this.readByPk(
this.extractCompositePK({ rowId: id, insertObj, ag }), this.extractCompositePK({ rowId: id, insertObj, ag, ai }),
false, false,
{}, {},
{ ignoreView: true, getHiddenColumn: true }, { ignoreView: true, getHiddenColumn: true },
@ -3250,8 +3250,8 @@ class BaseModelSqlv2 {
insertObj, insertObj,
force = false, force = false,
}: { }: {
ai?: Column<any>; ai: Column<any>;
ag?: Column<any>; ag: Column<any>;
rowId; rowId;
insertObj: Record<string, any>; insertObj: Record<string, any>;
force?: boolean; force?: boolean;

Loading…
Cancel
Save