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.

Swift: Match a string

Match only rows where column matches the query string in query.

Examples

With `select()`

try await supabase
  .from("quotes")
  .select("catchphrase")
  .textSearch("catchphrase", query: "'fat' & 'cat'", config: "english")
  .execute()

Websearch

try await supabase
  .from("quotes")
  .select("catchphrase")
  .textSearch("catchphrase", query: "'fat' or 'cat'", config: "english", type: .websearch)
  .execute()