Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ColumnMetadata

interface ColumnMetadata {
readonly comment?: string;
readonly dataType: string;
readonly dataTypeSchema?: string;
readonly hasDefaultValue: boolean;
readonly isAutoIncrementing: boolean;
readonly isNullable: boolean;
readonly name: string;
}

§Properties

§
readonly comment?: string
[src]
§
readonly dataType: string
[src]

The data type of the column as reported by the database.

NOTE: This value is whatever the database engine returns and it will be different on different dialects even if you run the same migrations. For example integer datatype in a migration will produce int4 on PostgreSQL, INTEGER on SQLite and int on MySQL.

§
readonly dataTypeSchema?: string
[src]

The schema this column's data type was created in.

§
readonly hasDefaultValue: boolean
[src]
§
readonly isAutoIncrementing: boolean
[src]
§
readonly isNullable: boolean
[src]
§
readonly name: string
[src]