Skip to main content
Go to Latest
interface Relation
import { type Relation } from "https://deno.land/x/dbx@0.4.1/mod.ts";

Properties

join: string
optional
delete:
| "cascade"
| "no-action"
| "restrict"
| "set-default"
| "set-null"
optional
update:
| "cascade"
| "no-action"
| "restrict"
| "set-default"
| "set-null"
target: string
type: "many-to-one" | "many-to-many"