typeorm
Version:
Data-Mapper ORM for TypeScript and ES2023+. Supports MySQL/MariaDB, PostgreSQL, MS SQL Server, Oracle, SAP HANA, SQLite, MongoDB databases.
23 lines (22 loc) • 497 B
TypeScript
import type { DeferrableType } from "../metadata/types/DeferrableType";
/**
* Arguments for ExclusionMetadata class.
*/
export interface ExclusionMetadataArgs {
/**
* Class to which index is applied.
*/
target: Function | string;
/**
* Exclusion constraint name.
*/
name?: string;
/**
* Exclusion expression.
*/
expression: string;
/**
* Indicate if exclusion constraints can be deferred.
*/
deferrable?: DeferrableType;
}