Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/typeorm/src/index.ts>JoinTableOptions

Forked from https://github.com/typeorm/typeorm
Latest
interface JoinTableOptions
Re-export
import { type JoinTableOptions } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/index.ts";

Describes join table options.

Properties

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.

optional
joinColumn: JoinColumnOptions

First column of the join table.

optional
inverseJoinColumn: JoinColumnOptions

Second (inverse) column of the join table.

optional
database: string

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

optional
schema: string

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