{
  "request_duration_ms": 34.867262991610914,
  "sum_trace_duration_ms": 13.148163969162852,
  "num_traces": 37,
  "traces": [
    {
      "type": "sql",
      "start": 86433.412811931,
      "end": 86433.413505785,
      "duration_ms": 0.6938540027476847,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 122, in dispatch_request\n    await self.ds.refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 344, in refresh_schemas\n    await self._refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 354, in _refresh_schemas\n    for row in await internal_db.execute(\n"
      ],
      "database": "_internal",
      "sql": "select database_name, schema_version from databases",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.413876755,
      "end": 86433.414257274,
      "duration_ms": 0.3805189917329699,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 122, in dispatch_request\n    await self.ds.refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 344, in refresh_schemas\n    await self._refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 359, in _refresh_schemas\n    schema_version = (await db.execute(\"PRAGMA schema_version\")).first()[0]\n"
      ],
      "database": "_memory",
      "sql": "PRAGMA schema_version",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.414436895,
      "end": 86433.41465711,
      "duration_ms": 0.22021500626578927,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 122, in dispatch_request\n    await self.ds.refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 344, in refresh_schemas\n    await self._refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 359, in _refresh_schemas\n    schema_version = (await db.execute(\"PRAGMA schema_version\")).first()[0]\n"
      ],
      "database": "_internal",
      "sql": "PRAGMA schema_version",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.414992657,
      "end": 86433.415218522,
      "duration_ms": 0.22586500563193113,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 122, in dispatch_request\n    await self.ds.refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 344, in refresh_schemas\n    await self._refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 359, in _refresh_schemas\n    schema_version = (await db.execute(\"PRAGMA schema_version\")).first()[0]\n"
      ],
      "database": "fixtures",
      "sql": "PRAGMA schema_version",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.41534641,
      "end": 86433.415652107,
      "duration_ms": 0.30569700174964964,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 122, in dispatch_request\n    await self.ds.refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 344, in refresh_schemas\n    await self._refresh_schemas()\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 359, in _refresh_schemas\n    schema_version = (await db.execute(\"PRAGMA schema_version\")).first()[0]\n"
      ],
      "database": "extra_database",
      "sql": "PRAGMA schema_version",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.416191424,
      "end": 86433.4164889,
      "duration_ms": 0.2974759991047904,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 516, in get_canned_queries\n    more_queries = await await_me_maybe(more_queries)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin_2.py\", line 144, in inner\n    await datasette.get_database(database).execute(\"select 1 + 1\")\n"
      ],
      "database": "fixtures",
      "sql": "select 1 + 1",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.416666112,
      "end": 86433.417100176,
      "duration_ms": 0.4340640007285401,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 349, in data\n    is_view = bool(await db.get_view_definition(table))\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/database.py\", line 393, in get_view_definition\n    return await self.get_table_definition(view, \"view\")\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/database.py\", line 373, in get_table_definition\n    await self.execute(\n"
      ],
      "database": "fixtures",
      "sql": "select sql from sqlite_master where name = :n and type=:t",
      "params": {
        "n": "roadside_attractions",
        "t": "view"
      }
    },
    {
      "type": "sql",
      "start": 86433.417238871,
      "end": 86433.417670931,
      "duration_ms": 0.4320599982747808,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 476, in view_get\n    response_or_template_contexts = await self.data(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 350, in data\n    table_exists = bool(await db.table_exists(table))\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/database.py\", line 258, in table_exists\n    results = await self.execute(\n"
      ],
      "database": "fixtures",
      "sql": "select 1 from sqlite_master where type='table' and name=?",
      "params": [
        "roadside_attractions"
      ]
    },
    {
      "type": "sql",
      "start": 86433.418189951,
      "end": 86433.418440946,
      "duration_ms": 0.2509949990781024,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 604, in permission_allowed\n    check = await await_me_maybe(check)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin_2.py\", line 120, in inner\n    assert 2 == (await datasette.get_database().execute(\"select 1 + 1\")).first()[0]\n"
      ],
      "database": "_memory",
      "sql": "select 1 + 1",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.418659719,
      "end": 86433.418913037,
      "duration_ms": 0.253318008617498,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 604, in permission_allowed\n    check = await await_me_maybe(check)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin_2.py\", line 120, in inner\n    assert 2 == (await datasette.get_database().execute(\"select 1 + 1\")).first()[0]\n"
      ],
      "database": "_memory",
      "sql": "select 1 + 1",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.419144246,
      "end": 86433.419405774,
      "duration_ms": 0.26152799546252936,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 604, in permission_allowed\n    check = await await_me_maybe(check)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin_2.py\", line 120, in inner\n    assert 2 == (await datasette.get_database().execute(\"select 1 + 1\")).first()[0]\n"
      ],
      "database": "_memory",
      "sql": "select 1 + 1",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.419619919,
      "end": 86433.419812592,
      "duration_ms": 0.1926729892147705,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 604, in permission_allowed\n    check = await await_me_maybe(check)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin_2.py\", line 120, in inner\n    assert 2 == (await datasette.get_database().execute(\"select 1 + 1\")).first()[0]\n"
      ],
      "database": "_memory",
      "sql": "select 1 + 1",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.422489372,
      "end": 86433.423087048,
      "duration_ms": 0.5976760003250092,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 261, in get\n    return await self.view_get(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 476, in view_get\n    response_or_template_contexts = await self.data(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 703, in data\n    results = await db.execute(sql, params, truncate=True, **extra_args)\n"
      ],
      "database": "fixtures",
      "sql": "select pk, name, address, latitude, longitude from roadside_attractions order by pk limit 101",
      "params": {}
    },
    {
      "type": "sql",
      "start": 86433.425061575,
      "end": 86433.42538992,
      "duration_ms": 0.3283449914306402,
      "traceback": [
        "  File \"plugins/my_plugin.py\", line 155, in suggest\n    columns = await self.get_columns(self.sql, self.params)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 124, in get_columns\n    await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select * from (select pk, name, address, latitude, longitude from roadside_attractions ) limit 0",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.425603069,
      "end": 86433.425914955,
      "duration_ms": 0.3118860040558502,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 146, in suggest\n    columns = await self.get_columns(self.sql, self.params)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 124, in get_columns\n    await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select * from (select pk, name, address, latitude, longitude from roadside_attractions ) limit 0",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.426134045,
      "end": 86433.426518226,
      "duration_ms": 0.3841809957521036,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 164, in suggest\n    distinct_values = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select pk, count(*) as n from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where pk is not null\n                group by pk\n                limit 31",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.426682921,
      "end": 86433.427120172,
      "duration_ms": 0.4372510011307895,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 164, in suggest\n    distinct_values = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select name, count(*) as n from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where name is not null\n                group by name\n                limit 31",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.427307848,
      "end": 86433.427640758,
      "duration_ms": 0.33290999999735504,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 164, in suggest\n    distinct_values = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select address, count(*) as n from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where address is not null\n                group by address\n                limit 31",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.427804761,
      "end": 86433.428102016,
      "duration_ms": 0.2972549991682172,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 164, in suggest\n    distinct_values = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select latitude, count(*) as n from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where latitude is not null\n                group by latitude\n                limit 31",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.428248133,
      "end": 86433.429409459,
      "duration_ms": 1.161325999419205,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 164, in suggest\n    distinct_values = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select longitude, count(*) as n from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where longitude is not null\n                group by longitude\n                limit 31",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.429611863,
      "end": 86433.429969883,
      "duration_ms": 0.35801999911200255,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 415, in suggest\n    columns = await self.get_columns(self.sql, self.params)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 124, in get_columns\n    await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select * from (select pk, name, address, latitude, longitude from roadside_attractions ) limit 0",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.430153865,
      "end": 86433.430435747,
      "duration_ms": 0.28188199212308973,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 430, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select date(pk) from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where pk glob \"????-??-*\" limit 100;",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.430584457,
      "end": 86433.430847782,
      "duration_ms": 0.26332499692216516,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 430, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select date(name) from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where name glob \"????-??-*\" limit 100;",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.430992801,
      "end": 86433.431240068,
      "duration_ms": 0.24726700212340802,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 430, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select date(address) from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where address glob \"????-??-*\" limit 100;",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.431384679,
      "end": 86433.431722166,
      "duration_ms": 0.33748699934221804,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 430, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select date(latitude) from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where latitude glob \"????-??-*\" limit 100;",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.43186716,
      "end": 86433.43220703,
      "duration_ms": 0.33986999187618494,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 430, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select date(longitude) from (\n                    select pk, name, address, latitude, longitude from roadside_attractions \n                ) where longitude glob \"????-??-*\" limit 100;",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.432360176,
      "end": 86433.432640632,
      "duration_ms": 0.2804560062941164,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 280, in suggest\n    columns = await self.get_columns(self.sql, self.params)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 124, in get_columns\n    await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select * from (select pk, name, address, latitude, longitude from roadside_attractions ) limit 0",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.4329327,
      "end": 86433.433228178,
      "duration_ms": 0.29547799204010516,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 295, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select distinct json_type(pk)\n                from (select pk, name, address, latitude, longitude from roadside_attractions )\n                where pk is not null and pk != ''",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.434165635,
      "end": 86433.434522679,
      "duration_ms": 0.357044002157636,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 295, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select distinct json_type(latitude)\n                from (select pk, name, address, latitude, longitude from roadside_attractions )\n                where latitude is not null and latitude != ''",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.434682263,
      "end": 86433.435091217,
      "duration_ms": 0.4089540016138926,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 854, in data\n    suggested_facets.extend(await facet.suggest())\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/facets.py\", line 295, in suggest\n    results = await self.ds.execute(\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 633, in execute\n    return await self.databases[db_name].execute(\n"
      ],
      "database": "fixtures",
      "sql": "select distinct json_type(longitude)\n                from (select pk, name, address, latitude, longitude from roadside_attractions )\n                where longitude is not null and longitude != ''",
      "params": []
    },
    {
      "type": "sql",
      "start": 86433.435343162,
      "end": 86433.435570741,
      "duration_ms": 0.22757900296710432,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 604, in permission_allowed\n    check = await await_me_maybe(check)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin_2.py\", line 120, in inner\n    assert 2 == (await datasette.get_database().execute(\"select 1 + 1\")).first()[0]\n"
      ],
      "database": "_memory",
      "sql": "select 1 + 1",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.437662051,
      "end": 86433.438224902,
      "duration_ms": 0.5628509970847517,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 948, in extra_template\n    \"view_definition\": await db.get_view_definition(table),\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/database.py\", line 393, in get_view_definition\n    return await self.get_table_definition(view, \"view\")\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/database.py\", line 373, in get_table_definition\n    await self.execute(\n"
      ],
      "database": "fixtures",
      "sql": "select sql from sqlite_master where name = :n and type=:t",
      "params": {
        "n": "roadside_attractions",
        "t": "view"
      }
    },
    {
      "type": "sql",
      "start": 86433.438391491,
      "end": 86433.438655917,
      "duration_ms": 0.2644259948283434,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 571, in view_get\n    extras = await extras\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 949, in extra_template\n    \"table_definition\": await db.get_table_definition(table),\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/database.py\", line 373, in get_table_definition\n    await self.execute(\n"
      ],
      "database": "fixtures",
      "sql": "select sql from sqlite_master where name = :n and type=:t",
      "params": {
        "n": "roadside_attractions",
        "t": "table"
      }
    },
    {
      "type": "sql",
      "start": 86433.438971049,
      "end": 86433.439254237,
      "duration_ms": 0.2831879974110052,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/base.py\", line 571, in view_get\n    extras = await extras\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/views/table.py\", line 949, in extra_template\n    \"table_definition\": await db.get_table_definition(table),\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/database.py\", line 383, in get_table_definition\n    await self.execute(\n"
      ],
      "database": "fixtures",
      "sql": "select sql from sqlite_master where tbl_name = :n and type='index' and sql is not null",
      "params": {
        "n": "roadside_attractions"
      }
    },
    {
      "type": "sql",
      "start": 86433.440120482,
      "end": 86433.440412406,
      "duration_ms": 0.29192399233579636,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 853, in render_template\n    extra_script = await await_me_maybe(extra_script)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin.py\", line 87, in inner\n    await datasette.get_database().execute(\"select 3 * 5\")\n"
      ],
      "database": "_memory",
      "sql": "select 3 * 5",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.440956095,
      "end": 86433.441245854,
      "duration_ms": 0.2897590020438656,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 937, in _asset_urls\n    hook = await await_me_maybe(hook)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin.py\", line 44, in inner\n    await datasette.get_database().execute(\"select 3 * 5\")\n"
      ],
      "database": "_memory",
      "sql": "select 3 * 5",
      "params": null
    },
    {
      "type": "sql",
      "start": 86433.442649993,
      "end": 86433.442909553,
      "duration_ms": 0.25956000899896026,
      "traceback": [
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/app.py\", line 604, in permission_allowed\n    check = await await_me_maybe(check)\n",
        "  File \"/usr/local/lib/python3.8/site-packages/datasette/utils/__init__.py\", line 67, in await_me_maybe\n    value = await value\n",
        "  File \"plugins/my_plugin_2.py\", line 120, in inner\n    assert 2 == (await datasette.get_database().execute(\"select 1 + 1\")).first()[0]\n"
      ],
      "database": "_memory",
      "sql": "select 1 + 1",
      "params": null
    }
  ]
}