This PR adds an output post-processor plugin using the mongo-query-compiler library to offer additional result filtering capabilities. README included.
var streams = response.data.result
let logquery = {$where: 'this.stream.event === "user"'}
let logfilterer = compileMongoQuery(logquery);
let logresults = streams.filter(logfilterer);
This PR adds an output post-processor plugin using the mongo-query-compiler library to offer additional result filtering capabilities. README included.
Usage:
Raw JS equivalent:
Links: