或与 postgREST 的操作 API

OR operation with postgREST API

假设我有两列,我想使用它们来获取行。条件是

WHERE column1="test" OR column2="test"

如何使用 postgREST 实现此目的 API?

您的要求是:

GET /table?or=(column1.eq.test,column2.eq.test) HTTP/1.1

文档中最近添加的 Logical Operators 部分有一个更实用的示例。