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

Method with

packages/sql/src/query/QueryBuilder.ts:2825–2827  ·  view source on GitHub ↗
(name: string, query: QueryBuilder<any> | NativeQueryBuilder | RawQueryFragment, options?: CteOptions)

Source from the content-addressed store, hash-verified

2823 options?: CteOptions,
2824 ): QueryBuilder<Entity, RootAlias, Hint, Context, RawAliases, Fields, CTEs & Record<Name, object>>;
2825 with(name: string, query: QueryBuilder<any> | NativeQueryBuilder | RawQueryFragment, options?: CteOptions): any {
2826 return this.addCte(name, query, options);
2827 }
2828
2829 /**
2830 * Adds a recursive Common Table Expression (CTE) to the query.

Callers

nothing calls this directly

Calls 1

addCteMethod · 0.95

Tested by

no test coverage detected