For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.
Only relevant for text and tsvector columns. Match only rows where column matches the query string in query.
The text or tsvector column to filter on
The query text to match with
Named parameters
response = (
supabase.table("texts")
.select("content")
.text_search(
"content",
"'eggs' & 'ham'",
options={"config": "english"},
)
.execute()
)
response = (
supabase.table("quotes")
.select("catchphrase")
.text_search(
"catchphrase",
"'the' & 'cat'",
options={"type": "plain", "config": "english"},
)
.execute()
)
response = (
supabase.table("quotes")
.select("catchphrase")
.text_search(
"catchphrase",
"'the' & 'cat'",
options={"type": "phrase", "config": "english"},
)
.execute()
)
response = (
supabase.table("quotes")
.select("catchphrase")
.text_search(
"catchphrase",
"fox or cat",
options={"type": "web_search", "config": "english"},
)
.execute()
)