home / fixtures

facetable

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

6 rows where city_id = 1

View and edit SQL

Suggested facets: created, tags, created (date), tags (array)

pk created planet_int on_earth state city_id neighborhood tags
1 2019-01-14 08:00:00 1 1 CA San Francisco 1 Mission ["tag1", "tag2"]
2 2019-01-14 08:00:00 1 1 CA San Francisco 1 Dogpatch ["tag1", "tag3"]
3 2019-01-14 08:00:00 1 1 CA San Francisco 1 SOMA []
4 2019-01-14 08:00:00 1 1 CA San Francisco 1 Tenderloin []
5 2019-01-15 08:00:00 1 1 CA San Francisco 1 Bernal Heights []
6 2019-01-15 08:00:00 1 1 CA San Francisco 1 Hayes Valley []

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,
    FOREIGN KEY ("city_id") REFERENCES [facet_cities](id)
)
Powered by Datasette · Query took 15.321ms · Data license: Apache License 2.0 · Data source: tests/fixtures.py · About: About Datasette