PostgreSQL - Full-Text Search
Which of the following is the correct syntax to use the @@ operator with to_tsquery in PostgreSQL?
SELECT * FROM articles WHERE content @@ to_tsquery('search_term');Which of the following is the correct syntax to use the @@ operator with to_tsquery in PostgreSQL?
SELECT * FROM articles WHERE content @@ to_tsquery('search_term');@@ with to_tsquery@@ operator requires the right side to be a tsquery, which is created by to_tsquery().content @@ to_tsquery('search_term'). Options B, C, and D misuse operators or omit to_tsquery().@@ to_tsquery() syntax [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions