[英]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.