open

fun open(name: String, version: JsLong = definedExternally): IDBOpenDBRequest(source)

Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection.

MDN Reference