Skip to content

Commit 156392e

Browse files
authored
👾 smth
1 parent 051700f commit 156392e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

6-data-storage/03-indexeddb/article.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -490,16 +490,16 @@ request.onerror = function(event) {
490490
// получить одну книгу
491491
books.get('js')
492492

493-
// получить все книги с 'css' < id < 'html'
493+
// получить книги с 'css' <= id <= 'html'
494494
books.getAll(IDBKeyRange.bound('css', 'html'))
495495

496-
// получить книги с 'html' <= id
497-
books.getAll(IDBKeyRange.lowerBound('html', true))
496+
// получить книги с id < 'html'
497+
books.getAll(IDBKeyRange.upperBound('html', true))
498498

499499
// получить все книги
500500
books.getAll()
501501

502-
// получить все ключи: id >= 'js'
502+
// получить все ключи, гдe id > 'js'
503503
books.getAllKeys(IDBKeyRange.lowerBound('js', true))
504504
```
505505

0 commit comments

Comments
 (0)