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

Index Signatures

[key: string]: unknown

Properties

table: string
columns: Record<string, ModelColumn>
optional
checks: string[]
optional
unique: Array<string[]>
optional
primaryKey: string[]
optional
foreignKey: { columns: string[]; mappedColumns: string[]; rel_type?: string; table: string; }[]