Options
All
  • Public
  • Public/Protected
  • All
Menu

Options to pass to the ReactiveIDBDatabase constructor

Hierarchy

  • ReactiveIDBDatabaseOptions

Index

Properties

Optional autoCloseOnVersionChange

autoCloseOnVersionChange: undefined | boolean

Should the database be closed on version changed

Optional factory

factory: undefined | IDBFactory

IDBFactory to use to create the database if different from window.indexeddb

default

window.indexeddb

name

name: string

Name of this database

Optional onBlocked

onBlocked: undefined | ((event: Event) => void)

Optional onUpgrade

onUpgrade: undefined | ((database: IDBDatabase, oldVersion: number, newVersion: null | number, transaction: IDBTransaction) => void)

Custom onUpgrade method to execute when database version has changed

param
param

Optional schema

schema: undefined | ReactiveIDBDatabaseSchema[]
default

[]

Generated using TypeDoc