images to svg
This commit is contained in:
parent
a31e881856
commit
3ba28aa104
734 changed files with 11682 additions and 245 deletions
|
@ -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.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
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:
|
||||
|
||||

|
||||

|
||||
|
||||
As said, the index for each value of `price` (second argument) keeps the list of keys that have that price.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue