You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
select rowid, * from Film_Locations_in_San_Francisco
where rowid in (
select rowid from [Film_Locations_in_San_Francisco_fts]
where [Locations] match :search
) order by rowid limit 101
The _search= parameter could be extended to support this using _search_colname=.
This should also be able to support columns with spaces and special characters in their names, something like this:
_search_Column%20With%20Spaces=foo
The text was updated successfully, but these errors were encountered:
Right now the
_search=
argument searches across all fields in a full-text index, for example:https://san-francisco.datasettes.com/sf-film-locations-84594a7/Film_Locations_in_San_Francisco?_search=justin
SQLite FTS also supports searches within a specified field, for example:
https://san-francisco.datasettes.com/sf-film-locations-84594a7?sql=select+rowid%2C+*+from+Film_Locations_in_San_Francisco+where+rowid+in+%28select+rowid+from+%5BFilm_Locations_in_San_Francisco_fts%5D+where+%5BLocations%5D+match+%3Asearch%29+order+by+rowid+limit+101&search=justin
The
_search=
parameter could be extended to support this using_search_colname=
.This should also be able to support columns with spaces and special characters in their names, something like this:
_search_Column%20With%20Spaces=foo
The text was updated successfully, but these errors were encountered: