mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
docs: Add multi-column search to textSearch docs (#20067)
* Fix documentation for reading data as CSV * add docs for multi-column text search --------- Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
1 parent
4a05713bf6
commit
ddd2d8a6d2
1 file changed
+13
@@ -1817,6 +1817,19 @@ functions:
|
||||
}
|
||||
}
|
||||
```
|
||||
- id: search-multiple-columns
|
||||
name: Search multiple columns
|
||||
code: |
|
||||
```kotlin
|
||||
supabase.from("quotes").select(columns = Columns.list("catchphrase")) {
|
||||
filter {
|
||||
or {
|
||||
textSearch(column = "catchphrase", query = "'fat' & 'cat'", config = "english", type = TextSearchType.YOUR_TYPE)
|
||||
textSearch(column = "author", query = "'fat' & 'cat'", config = "english", type = TextSearchType.YOUR_TYPE)
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
- id: basic-normalization
|
||||
name: Basic normalization
|
||||
description: Uses PostgreSQL's `plainto_tsquery` function.
|
||||
|
||||
Reference in new issue
Block a user