|
|
@ -1,4 +1,4 @@ |
|
|
|
import { isSystemColumn, RelationTypes, UITypes, ViewTypes } from 'nocodb-sdk'; |
|
|
|
import { isCreatedTimeOrUpdatedTimeCol, isSystemColumn, RelationTypes, UITypes, ViewTypes } from 'nocodb-sdk' |
|
|
|
import type { |
|
|
|
import type { |
|
|
|
Column, |
|
|
|
Column, |
|
|
|
LinkToAnotherRecordColumn, |
|
|
|
LinkToAnotherRecordColumn, |
|
|
@ -149,8 +149,7 @@ const getAst = async ({ |
|
|
|
if (getHiddenColumn) { |
|
|
|
if (getHiddenColumn) { |
|
|
|
isRequested = |
|
|
|
isRequested = |
|
|
|
!isSystemColumn(col) || |
|
|
|
!isSystemColumn(col) || |
|
|
|
col.column_name === 'created_at' || |
|
|
|
(isCreatedTimeOrUpdatedTimeCol(col) && col.system) || |
|
|
|
col.column_name === 'updated_at' || |
|
|
|
|
|
|
|
col.pk; |
|
|
|
col.pk; |
|
|
|
} else if (allowedCols && (!includePkByDefault || !col.pk)) { |
|
|
|
} else if (allowedCols && (!includePkByDefault || !col.pk)) { |
|
|
|
isRequested = |
|
|
|
isRequested = |
|
|
|