Browse Source

Merge pull request #8490 from nocodb/nc-fix/ext-pk

fix: missing prop for extractCompositePK
pull/8488/head
Mert E 6 months ago committed by GitHub
parent
commit
9698c4858e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  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?.[ai.id];
response = await this.readByPk(
this.extractCompositePK({ rowId: id, insertObj, ag }),
this.extractCompositePK({ rowId: id, insertObj, ag, ai }),
false,
{},
{ ignoreView: true, getHiddenColumn: true },
@ -3250,8 +3250,8 @@ class BaseModelSqlv2 {
insertObj,
force = false,
}: {
ai?: Column<any>;
ag?: Column<any>;
ai: Column<any>;
ag: Column<any>;
rowId;
insertObj: Record<string, any>;
force?: boolean;

Loading…
Cancel
Save