getInfo(lang?: string): Promise<TableInfo>
Retrieves the table/view info
Parameters
-
lang optional string
Language code for i18n data. βenβ by default
Return type
TableInfo
-
oid required number
OID from the postgres database Useful in handling renamed tables
-
comment optional string
Comment from the postgres database
-
isFileTable optional FileTableConfig
Defined if this is the fileTable
- allowedNestedInserts optional { table: string; column: string; }
-
hasFiles optional boolean
True if fileTable is enabled and this table references the fileTable Used in UI
-
isView optional boolean
True if this is a view. Table methods (insert, update, delete) are undefined for views
-
fileTableName optional string
Name of the fileTable (if enabled) Used in UI
-
dynamicRules optional { update?: boolean | undefined; }
Used for getColumns in cases where the columns are dynamic based on the request. See dynamicFields from Update rules
- update optional boolean
-
info optional { label?: string | undefined; }
Additional table info provided through TableConfig
- label optional string
-
uniqueColumnGroups optional string
-
requiredNestedInserts optional RequiredNestedInsert
- ftable required string
- minRows optional number
- maxRows optional number