Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/kysely_postgrs_js_dialect/mod.ts>kysely.ForeignKeyConstraintBuilder

Kysely dialect for PostgreSQL using the Postgres.js client.
Go to Latest
class kysely.ForeignKeyConstraintBuilder
implements ForeignKeyConstraintBuilderInterface<ForeignKeyConstraintBuilder>, OperationNodeSource
Re-export
import { kysely } from "https://deno.land/x/kysely_postgrs_js_dialect@v0.27.3/mod.ts";
const { ForeignKeyConstraintBuilder } = kysely;

Constructors

new
ForeignKeyConstraintBuilder(node: ForeignKeyConstraintNode)

Methods

$call<T>(func: (qb: this) => T): T

Simply calls the provided function passing this as the only argument. $call returns what the provided function returns.

onDelete(onDelete: OnModifyForeignAction): ForeignKeyConstraintBuilder
onUpdate(onUpdate: OnModifyForeignAction): ForeignKeyConstraintBuilder
toOperationNode(): ForeignKeyConstraintNode