`openRequest.result.version` in `onupgradeneeded` is not the current DB version. It is the requested version, equal to `event.newVersion`. `event.oldVersion` contains the current version. |
||
|---|---|---|
| .. | ||
| 01-cookie | ||
| 02-localstorage | ||
| 03-indexeddb | ||
| index.md | ||
`openRequest.result.version` in `onupgradeneeded` is not the current DB version. It is the requested version, equal to `event.newVersion`. `event.oldVersion` contains the current version. |
||
|---|---|---|
| .. | ||
| 01-cookie | ||
| 02-localstorage | ||
| 03-indexeddb | ||
| index.md | ||