The database schema: an interface type that maps collection names to the interfaces that represent their documents. Defaults to none.
ReadonlycollectionsThe collections in the database. If Schema is given, there must be an entry for each collection name declared in the schema.
ReadonlynameName of the database, in the browser's local IndexedDB storage.
OptionalpasswordThe password to decrypt the database with, if it's encrypted. For security reasons this property is cleared when the database is opened.
ReadonlyversionThe version number of this database configuration. This must be incremented whenever any collection configurations change.
Configuration for opening a Database.