数智融合计算服务 DATAARTSFABRIC-JSON/JSONB函数:json_to_tsvector(config regconfig, ] json, jsonb)

时间:2025-06-17 08:50:09

json_to_tsvector(config regconfig, ] json, jsonb)

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

返回类型:jsonb

示例:
1
2
3
4
5
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/devg-fabric/dataartsfabric_sql_04_0226.html
推荐文章