Browse Source

fix: return id for mysql

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6928/head
mertmit 1 year ago
parent
commit
d375b34482
  1. 3
      packages/nocodb/src/db/BaseModelSqlv2.ts

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

@ -2612,6 +2612,9 @@ class BaseModelSqlv2 {
raw: true, raw: true,
first: true, first: true,
}); });
if (this.isMySQL) {
rowId = rowId?.insertId;
}
} }
if (ai) { if (ai) {

Loading…
Cancel
Save