MCPcopy Create free account
hub / github.com/appbaseio/mirage / addQuery

Method addQuery

app/queryBlocks/queryBlocks.component.ts:137–142  ·  view source on GitHub ↗
(boolQuery)

Source from the content-addressed store, hash-verified

135
136 // add internal query
137 addQuery(boolQuery) {
138 var self = this;
139 var queryObj = JSON.parse(JSON.stringify(self.queryFormat.internal));
140 boolQuery.internal.push(queryObj);
141 this.buildQuery();
142 }
143
144 // builquery - this function handles everything to build the query
145 buildQuery() {

Callers

nothing calls this directly

Calls 1

buildQueryMethod · 0.95

Tested by

no test coverage detected