Browse Source

col.ai =true to col.ai

pull/6878/head
Aashish Agrawal 1 year ago
parent
commit
aa4296f606
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

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

@ -2197,7 +2197,7 @@ class BaseModelSqlv2 {
// exclude auto increment columns in body
for (const col of columns) {
if (col.ai === true) {
if (col.ai) {
const keyName =
data?.[col.column_name] !== undefined ? col.column_name : col.title;

Loading…
Cancel
Save