数据仓库服务 GaussDB(DWS)-JSON/JSONB函数:json_to_tsvector(config regconfig, ] json, jsonb)

时间:2025-02-12 15:04:42

json_to_tsvector(config regconfig, ] json, jsonb)

描述:将json格式转换为用于支持全文检索的文件格式tsvector。

返回类型:jsonb

示例:
12345
SELECT json_to_tsvector('{"a":1, "b":2, "c":3}'::json, to_jsonb('key'::text)); json_to_tsvector------------------ 'b':2 'c':4(1 row)
support.huaweicloud.com/sqlreference-910-dws/dws_06_0356.html
推荐文章