monolayer / schema / PgUnmanagedForeignKey
Class: PgUnmanagedForeignKey<T, C>
Type Parameters
Type Parameter |
---|
T extends string |
C extends string |
Methods
deleteRule()
deleteRule(
rule
):PgUnmanagedForeignKey
<T
,C
>
Parameters
Parameter | Type |
---|---|
rule | "cascade" | "set null" | "set default" | "restrict" | "no action" |
Returns
PgUnmanagedForeignKey
<T
, C
>
external()
external():
PgUnmanagedForeignKey
<T
,C
>
Returns
PgUnmanagedForeignKey
<T
, C
>
updateRule()
updateRule(
rule
):PgUnmanagedForeignKey
<T
,C
>
Parameters
Parameter | Type |
---|---|
rule | "cascade" | "set null" | "set default" | "restrict" | "no action" |
Returns
PgUnmanagedForeignKey
<T
, C
>