如何使用。过滤在supabase URL中
我正在尝试使用其URL使用supabase的“ .in”过滤器。但是,我无法查询超过1个过滤器。
工作URL
https:// database_url/rest/v1/verter?payer = in。(term1)
在这里我得到付款人为term1 term1
的所有行。但是,当我尝试以下
https:// database_url/rest/v1/detter?payer = in。(term1,term2)
我只在付款人为term1 。 预期的输出将是获取付款人为
term1
或term2
付款人列的所有行。
任何帮助将不胜感激! 谢谢。
I am trying to use ".in" filter of Supabase using its URL. However I can't query for more than 1 filter.
Working url
https://DATABASE_URL/rest/v1/patients?payer=in.(TERM1)
Here I get all the rows where payer is TERM1
. However, when I try the following
https://DATABASE_URL/rest/v1/patients?payer=in.(TERM1, TERM2)
I only get all the rows where payer is TERM1
.
Expected output would be to get all the rows where payer is either TERM1
or TERM2
Payer column is of type text.
Any help would be appreciated!
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试删除Term1和Term2之间的空间并重试吗?像这样:
https:// database_url/rest/v1/derten?payer = in。(term1,term2)
Can you try to remove the space between TERM1 and TERM2 and try it again? Like this:
https://DATABASE_URL/rest/v1/patients?payer=in.(TERM1,TERM2)