getDatabase

fun getDatabase(context: Context): JndDb

Returns the singleton instance of the database, creating it if necessary.

Return

The singleton instance of the database.

Parameters

context

The context to use for creating the database.