Specifies the field within the document to search for the term.
This query is useful for filtering on NULL values inside a boolean query. For instance, the following code block
finds all rows with description matching shoes that have a non-null rating.
Copy
Ask AI
SELECT description, rating, categoryFROM mock_itemsWHERE id @@@ paradedb.boolean( must => ARRAY[ paradedb.term('description', 'shoes'), paradedb.exists('rating') ])LIMIT 5;