Type Alias FieldMetadata

type FieldMetadata = {
    always_one_selected?: boolean;
    byte_size?: number;
    cardinal?: number;
    comment?: string;
    distinct_only?: boolean;
    hash?: string;
    is_hidden?: boolean;
    is_locked?: boolean;
    is_numeric?: boolean;
    is_semantic?: boolean;
    is_system?: boolean;
    name?: string;
    src_tables?: string[];
    tags?: string[];
    total_count?: number;
}
Index

Properties

always_one_selected?: boolean

If set to true, the field has one and only one selection (not 0 and not more than 1). If this property is set to true, the field cannot be cleared anymore and no more selections can be performed in that field. The default value is false.

byte_size?: number
cardinal?: number
comment?: string
distinct_only?: boolean

If set to true, only distinct field values are shown. The default value is false.

hash?: string
is_hidden?: boolean

If set to true, the field is hidden. The default value is false.

is_locked?: boolean

If set to true, the field is locked. The default value is false.

is_numeric?: boolean

Is set to true if the value is a numeric. The default value is false.

is_semantic?: boolean

If set to true, the field is semantic. The default value is false.

is_system?: boolean

If set to true, the field is a system field. The default value is false.

name?: string
src_tables?: string[]
tags?: string[]

Gives information on a field. For example, it can return the type of the field. Examples: key, text, ASCII.

total_count?: number