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 2 rows

      pk, foreign_key_with_label, foreign_key_with_blank_label, foreign_key_with_no_label, foreign_key_compound_pk1, foreign_key_compound_pk2

      fixtureslinks to compound_primary_key, primary_key_multiple_columns, simple_primary_key

    • foreign_key_references 2 rows

      pk, foreign_key_with_label, foreign_key_with_blank_label, foreign_key_with_no_label, foreign_key_compound_pk1, foreign_key_compound_pk2

      fixtures2links to compound_primary_key, primary_key_multiple_columns, simple_primary_key

    • roadside_attraction_characteristics 5 rows

      attraction_id, characteristic_id

      fixtureslinks to attraction_characteristic, roadside_attractions

    • roadside_attraction_characteristics 5 rows

      attraction_id, characteristic_id

      fixtures2links to attraction_characteristic, roadside_attractions

    • searchable_tags 2 rows

      searchable_id, tag

      fixtureslinks to searchable, tags

    • searchable_tags 2 rows

      searchable_id, tag

      fixtures2links to searchable, tags

    • This <em>HTML</em> is escaped 5 rows

      id, content

      fixturessimple_primary_keylinks to complex_foreign_keys, foreign_key_references

    • simple_primary_key 5 rows

      id, content

      fixtures2links to complex_foreign_keys, foreign_key_references

    • facetable 15 rows

      pk, created, planet_int, on_earth, state, _city_id, _neighborhood, tags, complex_array, distinct_some_null, n

      fixtureslinks to facet_cities

    • facetable 15 rows

      pk, created, planet_int, on_earth, state, _city_id, _neighborhood, tags, complex_array, distinct_some_null, n

      fixtures2links to facet_cities

    • roadside_attractions 4 rows

      pk, name, address, url, latitude, longitude

      fixtureslinks to roadside_attraction_characteristics

    • roadside_attractions 4 rows

      pk, name, address, url, latitude, longitude

      fixtures2links to roadside_attraction_characteristics

    • complex_foreign_keys 1 row

      pk, f1, f2, f3

      fixtureslinks to simple_primary_key

    • complex_foreign_keys 1 row

      pk, f1, f2, f3

      fixtures2links to simple_primary_key

    • searchable 2 rows

      pk, text1, text2, name with . and spaces

      fixturesfull-text searchlinks to searchable_tags

    • searchable 2 rows

      pk, text1, text2, name with . and spaces

      fixtures2full-text searchlinks to searchable_tags

    • compound_primary_key 3 rows

      pk1, pk2, content

      fixtureslinks to foreign_key_references

    • compound_primary_key 3 rows

      pk1, pk2, content

      fixtures2links to foreign_key_references

    • primary_key_multiple_columns 1 row

      id, content, content2

      fixtureslinks to foreign_key_references

    • primary_key_multiple_columns 1 row

      id, content, content2

      fixtures2links to foreign_key_references

    • primary_key_multiple_columns_explicit_label 1 row

      id, content, content2

      fixtureslinks to custom_foreign_key_label

    • primary_key_multiple_columns_explicit_label 1 row

      id, content, content2

      fixtures2links to custom_foreign_key_label

    • attraction_characteristic 2 rows

      pk, name

      fixtureslinks to roadside_attraction_characteristics

    • attraction_characteristic 2 rows

      pk, name

      fixtures2links to roadside_attraction_characteristics

    • custom_foreign_key_label 1 row

      pk, foreign_key_with_custom_label

      fixtureslinks to primary_key_multiple_columns_explicit_label

    • custom_foreign_key_label 1 row

      pk, foreign_key_with_custom_label

      fixtures2links to primary_key_multiple_columns_explicit_label

    • facet_cities 4 rows

      id, name

      fixtureslinks to facetable

    • facet_cities 4 rows

      id, name

      fixtures2links to facetable

    • tags 2 rows

      tag

      fixtureslinks to searchable_tags

    • tags 2 rows

      tag

      fixtures2links to searchable_tags

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