home

Menu

Datasette Fixtures

An example SQLite database demonstrating Datasette. Sign in as root user

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

6 databases49 tables11 views10 queries

Recently visited

    Databases All 60 _memory 0 fixtures 28 fixtures2 29 extra_database 2 counters 1 ephemeral 0

    Queries

    All 10 queries โ†’
    • ๐œ๐ข๐ญ๐ข๐ž๐ฌ fixtures select id, name from facet_cities order by id limit 1;
    • pragma_cache_size fixtures PRAGMA cache_size;
    • magic_parameters fixtures select :_header_user_agent as user_agent, :_now_datetime_utc as datetime ยท inputs: _header_user_agent, _now_datetime_utc
    • Search neighborhoods fixtures select _neighborhood, facet_cities.name, state from facetable join facet_cities on facetable._city_id =... ยท inputs: text
    • increment_counter_a writes counters update counters set value = value + 1 where name = 'counter_a'

    Tables and views

    • foreign_key_references fixtures links to 3 tables

      pkforeign_key_with_labelforeign_key_with_blank_labelforeign_key_with_no_labelforeign_key_compound_pk1foreign_key_compound_pk2

      2 rows

    • foreign_key_references fixtures2 links to 3 tables

      pkforeign_key_with_labelforeign_key_with_blank_labelforeign_key_with_no_labelforeign_key_compound_pk1foreign_key_compound_pk2

      2 rows

    • roadside_attraction_characteristics fixtures links to 2 tables

      attraction_idcharacteristic_id

      5 rows

    • roadside_attraction_characteristics fixtures2 links to 2 tables

      attraction_idcharacteristic_id

      5 rows

    • searchable_tags fixtures links to 2 tables

      searchable_idtag

      2 rows

    • searchable_tags fixtures2 links to 2 tables

      searchable_idtag

      2 rows

    • This <em>HTML</em> is escaped fixtures links to 2 tables

      idcontent

      simple_primary_key5 rows

    • simple_primary_key fixtures2 links to 2 tables

      idcontent

      5 rows

    • facetable fixtures links to 1 table

      pkcreatedplanet_inton_earthstate_city_id_neighborhoodtags+3 more

      15 rows

    • facetable fixtures2 links to 1 table

      pkcreatedplanet_inton_earthstate_city_id_neighborhoodtags+3 more

      15 rows

    • roadside_attractions fixtures links to 1 table

      pknameaddressurllatitudelongitude

      4 rows

    • roadside_attractions fixtures2 links to 1 table

      pknameaddressurllatitudelongitude

      4 rows

    • complex_foreign_keys fixtures links to 1 table

      pkf1f2f3

      1 row

    • complex_foreign_keys fixtures2 links to 1 table

      pkf1f2f3

      1 row

    • searchable fixtures links to 1 table

      pktext1text2name with . and spaces

      2 rowsfull-text search

    • searchable fixtures2 links to 1 table

      pktext1text2name with . and spaces

      2 rowsfull-text search

    • compound_primary_key fixtures links to 1 table

      pk1pk2content

      3 rows

    • compound_primary_key fixtures2 links to 1 table

      pk1pk2content

      3 rows

    • primary_key_multiple_columns fixtures links to 1 table

      idcontentcontent2

      1 row

    • primary_key_multiple_columns fixtures2 links to 1 table

      idcontentcontent2

      1 row

    • primary_key_multiple_columns_explicit_label fixtures links to 1 table

      idcontentcontent2

      1 row

    • primary_key_multiple_columns_explicit_label fixtures2 links to 1 table

      idcontentcontent2

      1 row

    • attraction_characteristic fixtures links to 1 table

      pkname

      2 rows

    • attraction_characteristic fixtures2 links to 1 table

      pkname

      2 rows

    • custom_foreign_key_label fixtures links to 1 table

      pkforeign_key_with_custom_label

      1 row

    • custom_foreign_key_label fixtures2 links to 1 table

      pkforeign_key_with_custom_label

      1 row

    • facet_cities fixtures links to 1 table

      idname

      4 rows

    • facet_cities fixtures2 links to 1 table

      idname

      4 rows

    • tags fixtures links to 1 table

      tag

      2 rows

    • tags fixtures2 links to 1 table

      tag

      2 rows

    Page 1 of 2 Next
    Powered by Datasette · Data license: Apache License 2.0 · Data source: tests/fixtures.py · About: About Datasette