Skip to main content
TIN introduces the ==> operator which is followed by a TINQL query.
Returns true when the document matches the TINQL expression. An input that analyzes to no tokens ('', whitespace, bare punctuation) matches nothing. Explicit empty syntax ("", []) is a parse error. Combine multiple ==> predicates and ordinary SQL filters with AND / OR. When several indexed columns appear in the same query, tin.score(ctid) combines BM25 relevance across those fields. The right-hand side may also be an array via ==> ANY (…), which matches if any element matches:

Need help?

Get help from the PlanetScale Support team, or join our Discord community to see how others are using PlanetScale.