home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 671073223

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/datasette/issues/915#issuecomment-671073223 https://api.github.com/repos/simonw/datasette/issues/915 671073223 MDEyOklzc3VlQ29tbWVudDY3MTA3MzIyMw== 9599 2020-08-09T16:35:20Z 2020-08-09T16:36:10Z OWNER `datasette-graphql` uses the logic from `TableView` right now. It wasn't too unpleasant, but I do worry about the two of them being coupled together in this way. https://github.com/simonw/datasette-graphql/blob/cc65ec294b0bf8e26213fc68bb5487066de9caab/datasette_graphql/utils.py#L412-L417 ```python request = Request.fake(path_with_query_string) view = TableView(DatasetteSpecialConfig(datasette)) data, _, _ = await view.data( request, database=database_name, hash=None, table=table_name, _next=after ) ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 671763164  
Powered by Datasette · Queries took 0.974ms