PostgreSQL - Full-Text Search
Given the table documents with a text_content column, what will this query return?
SELECT id FROM documents WHERE text_content @@ to_tsquery('cat & dog');Assuming the table has these rows:
- 1: 'The cat chased the dog.'
- 2: 'A dog and a cat are friends.'
- 3: 'The cat is sleeping.'
