How is indexedDB conceptually different from HTML5 local storage?

后端 未结 4 1150
渐次进展
渐次进展 2020-12-12 12:58
  1. Both indexedDB and local storage are key value stores. What is the advantage of having two key/value stores?
  2. indexedDB is asynchronous, but joins (the most ti
4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 13:18

    Adding to the anwser of robertc, indexedDB knows 'ranges' so you can search and retrieve all records that start with 'ab' and end with abd' to find 'abc' etc.

提交回复
热议问题