Optional
applyExpression: ApplyExpressionGenerate a mongo query from an apply expression
const applyExpression: ApplyExpression = {
transformations: [
...
]
}
const mongoQuery = applyExpressionToMongoQuery(applyExpression);
// mongoQuery = [
// {
// $group: {
// _id: null,
// count: { $sum: 1 },
// }
// }
// ];
Generated using TypeDoc
Convert nodeblocks internal $apply logic tokens to mongo db transformations