Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface ModelColumn
import { type ModelColumn } from "https://deno.land/x/denogres@v0.7.0-alpha/src/functions/modelParser.ts";

Index Signatures

[key: string]: unknown

Properties

type: string
optional
primaryKey: boolean
optional
notNull: boolean
optional
unique: boolean
optional
checks: string[]
optional
defaultVal: unknown
optional
autoIncrement: boolean
optional
association: { rel_type?: string; table: string; mappedCol: string; }
optional
length: number
optional
enumName: string