mirror of
https://github.com/simonw/datasette.git
synced 2026-06-02 23:26:59 +02:00
This query is really slow. I think this pattern would be faster: select ads.id, ads.text, ads.url from ads inner join ad_targets ad_targets_1 on ad_targets_1.ad_id = ads.id inner join ad_targets ad_targets_2 on ad_targets_2.ad_id = ads.id where ad_targets_1.target_id = "cd0d0" and ad_targets_2.target_id = "26eb3" order by ads.id |
||
|---|---|---|
| .. | ||
| publish | ||
| static | ||
| templates | ||
| views | ||
| __init__.py | ||
| _version.py | ||
| app.py | ||
| cli.py | ||
| hookspecs.py | ||
| inspect.py | ||
| utils.py | ||
| version.py | ||