Skip to main content
Module

x/typeorm/src/index.ts>JoinTable

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

JoinTable decorator is used in many-to-many relationship to specify owner side of relationship. Its also used to set a custom junction table's name, column names and referenced columns.

Returns

Function

JoinTable decorator is used in many-to-many relationship to specify owner side of relationship. Its also used to set a custom junction table's name, column names and referenced columns.

Parameters

options: JoinTableOptions

Returns

Function

JoinTable decorator is used in many-to-many relationship to specify owner side of relationship. Its also used to set a custom junction table's name, column names and referenced columns.

Parameters

options: JoinTableMultipleColumnsOptions

Returns

Function