images to svg

This commit is contained in:
Ilya Kantor 2019-07-28 15:42:37 +03:00
parent a31e881856
commit 3ba28aa104
734 changed files with 11682 additions and 245 deletions

View file

@ -174,7 +174,7 @@ An example of object that can't be stored: an object with circular references. S
A key must have a type one of: number, date, string, binary, or array. It's an unique identifier: we can search/remove/update values by the key.
![](indexeddb-structure.png)
![](indexeddb-structure.svg)
As we'll see very soon, we can provide a key when we add a value to the store, similar to `localStorage`. But when we store objects, IndexedDB allows to setup an object property as the key, that's much more convenient. Or we can auto-generate keys.
@ -551,7 +551,7 @@ openRequest.onupgradeneeded = function() {
Imagine that our `inventory` has 4 books. Here's the picture that shows exactly what the `index` is:
![](indexeddb-index.png)
![](indexeddb-index.svg)
As said, the index for each value of `price` (second argument) keeps the list of keys that have that price.