IT/Postgresql DBMS
Postgresql tsvector_to_array 설명 : 포스트그레스큐엘 함수
WorldSeeker
2021. 4. 25. 19:56
1. 함수의 목적

Postgresql tsvector_to_array 함수는 text_search 기능에 관련된 함수로서, tsvector로 들어온 인수를 스트링 배열로 변환하여 반환한다.
2. 샘플을 통한 개념 퀵뷰
SELECT tsvector_to_array('fat:2,4 cat:3 rat:5A'::tsvector) ;
tsvector_to_array
----------------------
{cat,fat,rat}
3. 사용방법
tsvector_to_array ( tsvector )
4. 함수 PARAMETER 설명
[tsvector]
변환하고자 하는 tsvector를 입력한다.
5. 다양한 샘플 표현
▶▶ Posgresql 내장함수 모음 : atotw.tistory.com/category/IT/Postgresql%20DBMS