CacheControl / CacheControl/json-rules-engine
How to create multiple 'aggregate' facts on a 'parent' object calculated from child objects (composition)
未關閉
- 主要語言
- JavaScript
- 星號
- 3.1k
- 分支
- 507
- PR 合併指標
- 30 天內沒有已合併 PR
描述
I have object(s) that will introduce facts that also have 'child' objects (composition). There will be multiple facts that are aggregate values on the parent that are calculated from the 'children.'
Typically these aggregate fact on the parent will follow one of the following patterns:
- count of children matching a filter (or all)
- sum of children matching a filter (or all)
I didn't see anything like that in the examples. It would be great if it could be added!
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
首先檢視 repository 中現有的範例,以及此處列出的需求:根據組合後的子項計算父層 facts,包括經過篩選或未經篩選的計數與總和。確認規則引擎是否已支援此模式;要視為完成,必須提供一個具體範例,或一份範圍明確的實作提案,用來定義所支援的彙總行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- backend
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100