database

fun database(name: DatabaseName): Database?

The running Database for name, if configured — lets an embedder reach the live database, e.g. to await indexing progress or flush a block.