search

phraseto_tsquery

Builds a positional phrase query, accounting for stop-word gaps when the configuration removes words.

Formal Syntax & Structure

sql syntaxsql
phraseto_tsquery([config,] query)

Working Example

Example Snippetsql
SELECT phraseto_tsquery('simple', 'SQL guide');
SQL Reference