Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JoinTableMetadataArgs

Arguments for JoinTableMetadata class.

Hierarchy

  • JoinTableMetadataArgs

Index

Properties

Optional database

database: string

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

Optional inverseJoinColumns

inverseJoinColumns: JoinColumnMetadataArgs[]

Second (inverse) column of the join table.

Optional joinColumns

joinColumns: JoinColumnMetadataArgs[]

First column of the join table.

Optional name

name: string

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

propertyName

propertyName: string

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

Optional schema

schema: string

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

target

target: Function | string

Class to which this column is applied.

Generated using TypeDoc