UNPKG

ionic-orm-x

Version:

Data-mapper ORM for Ionic WebSQL and SQLite

20 lines (19 loc) 534 B
import { JoinColumnOptions } from "./JoinColumnOptions"; /** * Describes all relation's options. */ export interface JoinTableOptions { /** * Name of the table that will be created to store values of the both tables (join table). * By default is auto generated. */ readonly name?: string; /** * First column of the join table. */ readonly joinColumn?: JoinColumnOptions; /** * Second (inverse) column of the join table. */ readonly inverseJoinColumn?: JoinColumnOptions; }