I'm curious how one goes about handling the need to query data across customers with the one-database-per-customer pattern.
It's definitely a trade-off. Isolation is pretty compelling for a lot of mid-market and enterprise customers but it does come at a cost of making it a pain to query across customers. But then again, that's kinda the point. :)
ATTACH customer145.sqlite as customer145; ATTACH customer2.sqlite as customer2;
Then query the attached tables.