home / fixtures

facetable

Data license: Apache License 2.0 · Data source: tests/fixtures.py · About: About Datasette

1 row where pk in ["1", "2", "3"], tags contains "tag1" and tags contains "tag2" sorted by on_earth

✎ View and edit SQL

This data as json, testall, testnone, testresponse, CSV (advanced)

Suggested facets: created (date)

tags (array) 2 ✖

  • tag1 · 1 ✖
  • tag2 · 1 ✖

complex_array 1 ✖

  • [{"foo": "bar"}] 1
pk created planet_int on_earth ▼ state _city_id _neighborhood tags complex_array distinct_some_null n
1 2019-01-14 08:00:00 1 1 CA San Francisco 1 Mission ["tag1", "tag2"] [{"foo": "bar"}] one n1

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE facetable (
    pk integer primary key,
    created text,
    planet_int integer,
    on_earth integer,
    state text,
    _city_id integer,
    _neighborhood text,
    tags text,
    complex_array text,
    distinct_some_null,
    n text,
    FOREIGN KEY ("_city_id") REFERENCES [facet_cities](id)
);
Powered by Datasette · Queries took 21.633ms · Data license: Apache License 2.0 · Data source: tests/fixtures.py · About: About Datasette