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

Method orHaving

packages/sql/src/query/QueryBuilder.ts:1909–1914  ·  view source on GitHub ↗
(
    cond?: QBFilterQuery<Entity, RootAlias, Context, RawAliases> | string,
    params?: any[],
  )

Source from the content-addressed store, hash-verified

1907 }
1908
1909 orHaving(
1910 cond?: QBFilterQuery<Entity, RootAlias, Context, RawAliases> | string,
1911 params?: any[],
1912 ): SelectQueryBuilder<Entity, RootAlias, Hint, Context, RawAliases, Fields, CTEs> {
1913 return this.having(cond, params, '$or');
1914 }
1915
1916 onConflict<F extends Field<Entity, RootAlias, Context>>(
1917 fields: F | F[] | RawQueryFragment = [] as F[],

Callers 1

Calls 1

havingMethod · 0.95

Tested by

no test coverage detected