create

fun create(databases: List<SqliteDb> = emptyList(), discoverFrom: Context? = null): SqliteDebugTab

Creates a SqliteDebugTab.

Parameters

databases

the databases to show.

discoverFrom

a context of the app, to show the other database files in its databases directory too, or null.

Throws

when two of databases have the same name, or two SqliteDb.file databases the same file.

No-op build: the tab keeps no context and opens nothing. The databases are only checked, so that a list the runtime rejects fails in release too.