home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 969557008

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/448#issuecomment-969557008 https://api.github.com/repos/simonw/datasette/issues/448 969557008 IC_kwDOBm6k_c45ykQQ 9599 2021-11-16T00:56:09Z 2021-11-16T00:59:59Z OWNER This looks like it might work: ```sql with inner as ( select * from ads_with_targets where :p0 in ( select value from json_each([ads_with_targets].[target_names]) ) ), deduped_array_items as ( select distinct j.value, inner.* from json_each([inner].[target_names]) j join inner ) select value, count(*) from deduped_array_items group by value order by count(*) desc ``` {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 440222719  
Powered by Datasette · Queries took 2.359ms