我在我们导入的第三方源 JSON 文档中发现了一些异常。我们需要使用更复杂的查询来处理此类数据。我们的应用程序需要识别 JSON 数据的具体问题。
例如,我们将需要类似于以下嵌套 case 表达式的内容。 Oracle NoSQL 数据库 SQL 查询是否支持以下内容?
CASE
WHEN EXISTS fied1
THEN
CASE
WHEN EXISTS field2
THEN
CASE
WHEN field3array[] =any null
THEN "this is the one to pick!"
ELSE "otherwise use this one!"
END
WHEN field4array[] =any null
THEN "nothing to show here!"
ELSE "show this!"
END
ELSE "game over!"
END