{"database": "fixtures", "table": "facetable", "is_view": false, "human_description_en": "where city_id = 1, tags contains \"tag1\" 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": [[{"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 rowid in (\n            select facetable.rowid from facetable, json_each(facetable.tags) j\n            where j.value = :p1\n        ) and rowid in (\n            select facetable.rowid from facetable, json_each(facetable.tags) j\n            where j.value = :p2\n        ) order by pk limit 101", "params": {"p0": "1", "p1": "tag1", "p2": "tag3"}}, "facet_results": {"neighborhood": {"name": "neighborhood", "type": "column", "hideable": true, "toggle_url": "/fixtures/facetable.json?_facet=on_earth&_facet=tags&_facet_array=tags&tags__arraycontains=tag3&city_id=1&tags__arraycontains=tag1&_labels=on", "results": [{"value": "Dogpatch", "label": "Dogpatch", "count": 1, "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?_facet=neighborhood&_facet=on_earth&_facet=tags&_facet_array=tags&tags__arraycontains=tag3&city_id=1&tags__arraycontains=tag1&_labels=on&neighborhood=Dogpatch", "selected": false}], "truncated": false}, "on_earth": {"name": "on_earth", "type": "column", "hideable": true, "toggle_url": "/fixtures/facetable.json?_facet=neighborhood&_facet=tags&_facet_array=tags&tags__arraycontains=tag3&city_id=1&tags__arraycontains=tag1&_labels=on", "results": [{"value": 1, "label": 1, "count": 1, "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?_facet=neighborhood&_facet=on_earth&_facet=tags&_facet_array=tags&tags__arraycontains=tag3&city_id=1&tags__arraycontains=tag1&_labels=on&on_earth=1", "selected": false}], "truncated": false}, "tags": {"name": "tags", "type": "array", "results": [{"value": "tag1", "label": "tag1", "count": 1, "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?_facet=neighborhood&_facet=on_earth&_facet=tags&_facet_array=tags&tags__arraycontains=tag3&city_id=1&_labels=on", "selected": true}, {"value": "tag3", "label": "tag3", "count": 1, "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?_facet=neighborhood&_facet=on_earth&_facet=tags&_facet_array=tags&city_id=1&tags__arraycontains=tag1&_labels=on", "selected": true}], "hideable": true, "toggle_url": "/fixtures/facetable.json?_facet=neighborhood&_facet=on_earth&_facet=tags&tags__arraycontains=tag3&city_id=1&tags__arraycontains=tag1&_labels=on", "truncated": false}}, "suggested_facets": [{"name": "created", "type": "date", "toggle_url": "https://datasette-public.vercel.app/fixtures/facetable.json?_facet=neighborhood&_facet=on_earth&_facet=tags&_facet_array=tags&tags__arraycontains=tag3&city_id=1&tags__arraycontains=tag1&_labels=on&_facet_date=created"}], "next": null, "next_url": null, "query_ms": 34.117937088012695}