MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / leftJoinLateral

Method leftJoinLateral

packages/sql/src/query/QueryBuilder.ts:1151–1158  ·  view source on GitHub ↗
(
    field: RawQueryFragment | QueryBuilder<any>,
    alias: Alias,
    cond: RawJoinCondition = {},
    schema?: string,
  )

Source from the content-addressed store, hash-verified

1149 }
1150
1151 leftJoinLateral<Alias extends string>(
1152 field: RawQueryFragment | QueryBuilder<any>,
1153 alias: Alias,
1154 cond: RawJoinCondition = {},
1155 schema?: string,
1156 ): SelectQueryBuilder<Entity, RootAlias, Hint, ModifyContext<Entity, Context, string, Alias>, RawAliases, '*', CTEs> {
1157 return this.join(field, alias, cond as any, JoinType.leftJoinLateral, undefined, schema) as any;
1158 }
1159
1160 /**
1161 * Adds a JOIN clause and automatically selects the joined entity's fields.

Callers 1

Calls 1

joinMethod · 0.95

Tested by

no test coverage detected