我是否正确理解 Data Explorer 不支持 JSON 提取?
我试过了,它返回了错误:
PG::UndefinedFunction: ERROR: function json_extract(text, unknown) does not exist
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
我是否正确理解 Data Explorer 不支持 JSON 提取?
我试过了,它返回了错误:
PG::UndefinedFunction: ERROR: function json_extract(text, unknown) does not exist
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
您好!
那是一个 MySQL 函数,但 Data Explorer 查询的是 Discourse 的 PostgreSQL 数据库。
根据这个 Stack Overflow 回答,您要找的是 Postgres 的 @> 操作符,用于 JSON 数据类型:
谢谢!实际上更像是 json_extract_path_text,并帮助为 Falco 的 Disorder(此处 构建了一个很好的查询。