-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
datasette.client is designed for this kind of thing, to replace this code:
dogsheep-beta/dogsheep_beta/__init__.py
Lines 223 to 232 in bed9df2
| inner_request = Request.fake(path_with_query_string) | |
| view = TableView(datasette) | |
| data, _, _ = await view.data( | |
| inner_request, | |
| database=database_name, | |
| hash=None, | |
| table="search_index", | |
| _next=None, | |
| ) | |
| count, facets = data["filtered_table_rows_count"], data["facet_results"] |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request