{"database": "fixtures", "table": "facetable", "is_view": false, "human_description_en": "where city_id = 1 and tags contains \"tag3\"", "rows": [{"pk": 2, "created": "2019-01-14 08:00:00", "planet_int": 1, "on_earth": 1, "state": "CA", "city_id": {"value": 1, "label": "San Francisco"}, "neighborhood": "Dogpatch", "tags": "[\"tag1\", \"tag3\"]", "complex_array": "[]", "distinct_some_null": "two"}], "truncated": false, "filtered_table_rows_count": 1, "expanded_columns": ["city_id"], "expandable_columns": [[{"column": "city_id", "other_table": "facet_cities", "other_column": "id"}, "name"]], "columns": ["pk", "created", "planet_int", "on_earth", "state", "city_id", "neighborhood", "tags", "complex_array", "distinct_some_null"], "primary_keys": ["pk"], "units": {}, "query": {"sql": "select pk, created, planet_int, on_earth, state, city_id, neighborhood, tags, complex_array, distinct_some_null from facetable where \"city_id\" = :p0 and rowid in (\n            select facetable.rowid from facetable, json_each(facetable.tags) j\n            where j.value = :p1\n        ) order by pk limit 101", "params": {"p0": "1", "p1": "tag3"}}, "facet_results": {"city_id": {"name": "city_id", "type": "column", "hideable": true, "toggle_url": "/fixtures/facetable.json?_facet=tags&city_id=1&tags__arraycontains=tag3&_labels=on", "results": [{"value": 1, "label": "San Francisco", "count": 1, "toggle_url": "http://datasette-psutil-demo-j7hipcg4aq-uw.a.run.app/fixtures/facetable.json?_facet=city_id&_facet=tags&tags__arraycontains=tag3&_labels=on", "selected": true}], "truncated": false}, "tags": {"name": "tags", "type": "column", "hideable": true, "toggle_url": "/fixtures/facetable.json?_facet=city_id&city_id=1&tags__arraycontains=tag3&_labels=on", "results": [{"value": "[\"tag1\", \"tag3\"]", "label": "[\"tag1\", \"tag3\"]", "count": 1, "toggle_url": "http://datasette-psutil-demo-j7hipcg4aq-uw.a.run.app/fixtures/facetable.json?_facet=city_id&_facet=tags&city_id=1&tags__arraycontains=tag3&_labels=on&tags=%5B%22tag1%22%2C+%22tag3%22%5D", "selected": false}], "truncated": false}}, "suggested_facets": [{"name": "created", "type": "date", "toggle_url": "http://datasette-psutil-demo-j7hipcg4aq-uw.a.run.app/fixtures/facetable.json?_facet=city_id&_facet=tags&city_id=1&tags__arraycontains=tag3&_labels=on&_facet_date=created"}, {"name": "tags", "type": "array", "toggle_url": "http://datasette-psutil-demo-j7hipcg4aq-uw.a.run.app/fixtures/facetable.json?_facet=city_id&_facet=tags&city_id=1&tags__arraycontains=tag3&_labels=on&_facet_array=tags"}], "next": null, "next_url": null, "private": false, "allow_execute_sql": true, "query_ms": 27.50992774963379, "source": "github.com/simon/datasette-psutil", "source_url": "https://github.com/simon/datasette-psutil"}