You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Notion数据库查询中Rollup属性的过滤格式求助

Notion Rollup属性过滤格式修正

你提供的JSON存在语法和结构错误,rollup字段下多了一层冗余的花括号,不符合Notion API的过滤规范。针对Select类型的Show Original Rollup,正确的过滤格式如下:

{
    "filter": {
        "property": "Status",
        "rollup": {
            "any": {
                "select": {
                    "name": {
                        "contains": "Active"
                    }
                }
            }
        }
    }
}
  • 核心要点:rollup字段直接嵌套any或all条件,无需额外层级
  • 若需关联项全部满足条件,将any替换为all即可

内容的提问来源于stack exchange,提问作者Alex S

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.16 20:10:38