SimpleIDB index demo

Demo of the interface to IndexedDB working locally.

Test of createIndex method of objectStore and the index method. The query returns an array of names of fruits matching the value given, a color or origin.

Fill and dump

Read

Enter the name of a fruit (apple, orange, strawberry, blueberry) to get the infos.

Read database

Search by color

Enter a color to get the id(s) of the record(s).

Read database

Search by origin

Enter a country to get the id(s) of the record(s).

Read database

© 2018 Scriptol.com