Skip to main content
Module

x/typeorm/src/index.ts>Check

Forked from https://github.com/typeorm/typeorm
Latest
function Check
import { Check } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Creates a database check. Can be used on entity property or on entity. Can create checks with composite columns when used on entity.

Parameters

expression: string

Returns

Function

Creates a database check. Can be used on entity property or on entity. Can create checks with composite columns when used on entity.

Parameters

name: string
expression: string

Returns

Function