ColumnInfo<ColumnName>
Information about a column in a table.
Type Parameters
Type Parameter | Default type |
---|---|
ColumnName extends string | string |
Properties
cid
cid: number;
Column ID
dflt_value
dflt_value: null | string;
Default value for the column
name
name: ColumnName;
Column name
notnull
notnull: number;
Whether the column may contain NULL values 0 = false, 1 = true
pk
pk: number;
Whether the column is part of the primary key
type
type: "TEXT" | "INTEGER" | "REAL" | "BLOB";
Column type