Skip to main content
Module

x/typeorm/src/metadata-args/JoinTableMetadataArgs.ts>JoinTableMetadataArgs

Forked from https://github.com/typeorm/typeorm
Latest
interface JoinTableMetadataArgs
import { type JoinTableMetadataArgs } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/metadata-args/JoinTableMetadataArgs.ts";

Arguments for JoinTableMetadata class.

Properties

readonly
target: Function | string

Class to which this column is applied.

readonly
propertyName: string

Class's property name to which this column is applied.

readonly
optional
name: string

Name of the table that will be created to store values of the both tables (join table). By default is auto generated.

readonly
optional
joinColumns: JoinColumnMetadataArgs[]

First column of the join table.

readonly
optional
inverseJoinColumns: JoinColumnMetadataArgs[]

Second (inverse) column of the join table.

readonly
optional
database: string

Database where join table will be created. Works only in some databases (like mysql and mssql).

readonly
optional
schema: string

Schema where join table will be created. Works only in some databases (like postgres and mssql).