Frappe RestAPI 的 filters 的写法
这个 filters 的写法比较容易搞错, 纪录在这儿一下.
精准查询的写法:
{"company":"D018","period_start_date":"2023-01","period_end_date":"2023-12-31","from_fiscal_year":"2023","to_fiscal_year":"2-2023","periodicity":"Yearly","include_default_book_entries":1}
模糊查询的写法:
[["ResearchFee Initial Evaluation","company_name","like","%ABC%"]]
版权声明: 本文为 InfoQ 作者【麦兜】的原创文章。
原文链接:【http://xie.infoq.cn/article/f58f705f41c1cbeb55da4d72f】。文章转载请联系作者。
评论