Type alias LooseCreateTableColumnDefinition

LooseCreateTableColumnDefinition: TableScalarType | string & Record<never, never>
Overview

The loose column definition is a shorthand for the strict version, and follows the following example form:

columns: {
textCol: 'text',
uuidCol: 'uuid',
}

In this form, the key is the column name, and the value is the type of the scalar column.

If you need to define a column with a more complex type (i.e. for maps, sets, lists, and vectors), you must use the strict column definition.

Plus, while it still provides autocomplete, the loose column definition does not statically enforce the type of the column, whereas the strict column definition does.