mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New ?tags__arraycontains=tag lookup against JSON fields
Part one of supporting facet-by-JSON-array, refs #359
This commit is contained in:
parent
3a208a41d4
commit
78e45ead4d
6 changed files with 74 additions and 41 deletions
|
|
@ -293,7 +293,7 @@ class TableView(RowTableShared):
|
|||
table_metadata = self.ds.table_metadata(database, table)
|
||||
units = table_metadata.get("units", {})
|
||||
filters = Filters(sorted(other_args.items()), units, ureg)
|
||||
where_clauses, params = filters.build_where_clauses()
|
||||
where_clauses, params = filters.build_where_clauses(table)
|
||||
|
||||
# _search support:
|
||||
fts_table = await self.ds.execute_against_connection_in_thread(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue