|
|
@ -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; |
|
|
|