Skip to main content
interface AlterTableColumnsResponse
column_alterations: Record<string, string>[];
info: Record<string, string>;
label: string;
properties: Record<string, string[]>;
request_time_secs?: number;
table_name: string;
type_definition: string;
type_id: string;
column_alterations: Record<string, string>[]

List of alter table add/delete/change column requests - all for the same table. Each request is a map that includes ‘column_name’, ‘action’ and the options specific for the action. Note that the same options as in alter table requests but in the same map as the column name and the action. For example: [‘column_name’:‘col_1’,‘action’:‘change_column’,‘rename_column’:‘col_2’,‘column_name’:‘col_1’,‘action’:‘add_column’, ‘type’:‘int’,‘default_value’:‘1’].

info: Record<string, string>

Additional information.

label: string

Return the type label (when changing a table, a new type may be created).

properties: Record<string, string[]>

Return the type properties (when changing a table, a new type may be created).

request_time_secs?: number

Server-reported request time in seconds, when it sent one

table_name: string

Table on which the operation was performed.

type_definition: string

Return the type_definition (when changing a table, a new type may be created).

type_id: string

Return the type_id (when changing a table, a new type may be created).