{"database": "fixtures", "table": "facetable", "is_view": false, "human_description_en": "where city_id = 1, state = \"CA\", tags contains \"tag1\" and tags contains \"tag2\"", "rows": [{"pk": 1, "created": "2019-01-14 08:00:00", "planet_int": 1, "on_earth": 1, "state": "CA", "city_id": {"value": 1, "label": "San Francisco"}, "neighborhood": "Mission", "tags": "[\"tag1\", \"tag2\"]", "complex_array": "[{\"foo\": \"bar\"}]", "distinct_some_null": "one"}], "truncated": false, "filtered_table_rows_count": 1, "expanded_columns": ["city_id"], "expandable_columns": [[{"other_table": "facet_cities", "column": "city_id", "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 \"state\" = :p1 and rowid in (\n            select facetable.rowid from facetable, json_each(facetable.tags) j\n            where j.value = :p2\n        ) and rowid in (\n            select facetable.rowid from facetable, json_each(facetable.tags) j\n            where j.value = :p3\n        ) order by pk limit 101", "params": {"p0": "1", "p1": "CA", "p2": "tag1", "p3": "tag2"}}, "facet_results": {"city_id": {"name": "city_id", "type": "column", "hideable": true, "toggle_url": "/fixtures/facetable.json?state=CA&_facet_date=created&_facet=complex_array&city_id=1&tags__arraycontains=tag1&tags__arraycontains=tag2&_labels=on", "results": [{"value": 1, "label": "San Francisco", "count": 1, "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?state=CA&_facet=city_id&_facet_date=created&_facet=complex_array&tags__arraycontains=tag1&tags__arraycontains=tag2&_labels=on", "selected": true}], "truncated": false}, "complex_array": {"name": "complex_array", "type": "column", "hideable": true, "toggle_url": "/fixtures/facetable.json?state=CA&_facet=city_id&_facet_date=created&city_id=1&tags__arraycontains=tag1&tags__arraycontains=tag2&_labels=on", "results": [{"value": "[{\"foo\": \"bar\"}]", "label": "[{\"foo\": \"bar\"}]", "count": 1, "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?state=CA&_facet=city_id&_facet_date=created&_facet=complex_array&city_id=1&tags__arraycontains=tag1&tags__arraycontains=tag2&_labels=on&complex_array=%5B%7B%22foo%22%3A+%22bar%22%7D%5D", "selected": false}], "truncated": false}, "created": {"name": "created", "type": "date", "results": [{"value": "2019-01-14", "label": "2019-01-14", "count": 1, "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?state=CA&_facet=city_id&_facet_date=created&_facet=complex_array&city_id=1&tags__arraycontains=tag1&tags__arraycontains=tag2&_labels=on&created__date=2019-01-14", "selected": false}], "hideable": true, "toggle_url": "/fixtures/facetable.json?state=CA&_facet=city_id&_facet=complex_array&city_id=1&tags__arraycontains=tag1&tags__arraycontains=tag2&_labels=on", "truncated": false}}, "suggested_facets": [{"name": "tags", "type": "array", "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?state=CA&_facet=city_id&_facet_date=created&_facet=complex_array&city_id=1&tags__arraycontains=tag1&tags__arraycontains=tag2&_labels=on&_facet_array=tags"}], "next": null, "next_url": null, "query_ms": 30.2426815032959}