I notice, on Android, sqldelight grabs a writeable database when passed in a
SupportSQLiteOpenHelper
but what if the database is read-only (as in, you never want to modify it)? Are there any best practices/optimizations for opening such a database? I know there are some cases where
readableDatabase
returns a non-null value when
writeableDatabase
returns null, so there could be cases where it makes more sense to call
readableDatabase
. A nasty workaround is to override the helper so that the result of