데이터 탐색기에서 JSON 추출을 지원하나요?

Data Explorer가 Json Extracts를 지원하지 않는다는 것이 맞나요?

시켜 보았으나 다음 오류가 반환됩니다:

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 데이터베이스를 쿼리합니다.

이 SO 답변에 따르면, JSON 데이터 유형에 사용할 Postgres의 @> 연산자를 찾으시는 것입니다:

감사합니다! 실제로는 json_extract_path_text가 더 적절했으며, Falco’s Disorder here를 위한 좋은 쿼리를 구성하는 데 도움이 되었습니다.