Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface JoinOptions

Used to specify what entity relations should be loaded.

Example: const options: JoinOptions = { alias: "photo", leftJoin: { author: "photo.author", categories: "categories", user: "categories.user", profile: "user.profile" }, innerJoin: { author: "photo.author", categories: "categories", user: "categories.user", profile: "user.profile" }, leftJoinAndSelect: { author: "photo.author", categories: "categories", user: "categories.user", profile: "user.profile" }, innerJoinAndSelect: { author: "photo.author", categories: "categories", user: "categories.user", profile: "user.profile" } };

Hierarchy

  • JoinOptions

Index

Properties

alias

alias: string

Alias of the main entity.

Optional innerJoin

innerJoin: object

Array of columns to INNER JOIN.

Type declaration

  • [key: string]: string

Optional innerJoinAndSelect

innerJoinAndSelect: object

Array of columns to INNER JOIN.

Type declaration

  • [key: string]: string

Optional leftJoin

leftJoin: object

Array of columns to LEFT JOIN.

Type declaration

  • [key: string]: string

Optional leftJoinAndSelect

leftJoinAndSelect: object

Array of columns to LEFT JOIN.

Type declaration

  • [key: string]: string

Optional limit

limit: number

Generated using TypeDoc