Options
All
  • Public
  • Public/Protected
  • All
Menu

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: undefined | object

Array of columns to INNER JOIN.

Optional innerJoinAndSelect

innerJoinAndSelect: undefined | object

Array of columns to INNER JOIN.

Optional leftJoin

leftJoin: undefined | object

Array of columns to LEFT JOIN.

Optional leftJoinAndSelect

leftJoinAndSelect: undefined | object

Array of columns to LEFT JOIN.

Generated using TypeDoc