[英]OR clause inside JSON query in Postgres
在Postgres JSONB中,是否可以執行以下操作:
where (
description ->'Auditor'->'1'->'Internal|External' is not null
)
而不是這個:
where (
description ->'Auditor'->'1'->'Internal' is not null
or
description ->'Auditor'->'1'->'External' is not null
)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.