MCPcopy Create free account
hub / github.com/axe-api/axe-api / applyWheres

Method applyWheres

packages/axe-api/src/Services/QueryService.ts:115–121  ·  view source on GitHub ↗
(query: Knex.QueryBuilder, ruleSet: NestedWhere)

Source from the content-addressed store, hash-verified

113 }
114
115 applyWheres(query: Knex.QueryBuilder, ruleSet: NestedWhere) {
116 query.where((sub) => {
117 this.applyWheresInsideGroup(sub, ruleSet);
118 });
119
120 this.applyRelatedQueryJoins(query, ruleSet);
121 }
122
123 get(query: URLSearchParams): IQuery {
124 const conditions: IQuery = this.parseSections(query);

Callers 4

FetchPhase.tsFile · 0.80
FetchPhase.tsFile · 0.80
PreparePhase.tsFile · 0.80
FetchPhase.tsFile · 0.80

Calls 2

Tested by

no test coverage detected