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

MysqlColumn

import type { MysqlColumn } from "https://googleapis.deno.dev/v1/datastream:v1.ts";

MySQL Column.

interface MysqlColumn {
collation?: string;
column?: string;
dataType?: string;
length?: number;
nullable?: boolean;
ordinalPosition?: number;
precision?: number;
primaryKey?: boolean;
scale?: number;
}

§Properties

§
collation?: string
[src]

Column collation.

§
column?: string
[src]

Column name.

§
dataType?: string
[src]

The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html

§
length?: number
[src]

Column length.

§
nullable?: boolean
[src]

Whether or not the column can accept a null value.

§
ordinalPosition?: number
[src]

The ordinal position of the column in the table.

§
precision?: number
[src]

Column precision.

§
primaryKey?: boolean
[src]

Whether or not the column represents a primary key.

§
scale?: number
[src]

Column scale.