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

Method withRecursive

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

Source from the content-addressed store, hash-verified

2864 options?: CteOptions,
2865 ): QueryBuilder<Entity, RootAlias, Hint, Context, RawAliases, Fields, CTEs & Record<Name, object>>;
2866 withRecursive(
2867 name: string,
2868 query: QueryBuilder<any> | NativeQueryBuilder | RawQueryFragment,
2869 options?: CteOptions,
2870 ): any {
2871 return this.addCte(name, query, options, true);
2872 }
2873
2874 private addCte(
2875 name: string,

Callers

nothing calls this directly

Calls 1

addCteMethod · 0.95

Tested by

no test coverage detected