{"version":"1.0","type":"rich","title":"Very Simple IndexedDB Example","description":"This example demonstrates basic IndexedDB operations, including database creation, object store setup, index management, and data retrieval. It shows how to open a database named “MyDatabase” and create an object store with a keyPath of “id” and a compound index on name fields. The code adds two records with nested name objects and then queries them both by primary key and by index lookup, logging results to the console. It uses the native IndexedDB API with cross-browser fallbacks, including the IndexedDBShim for unsupported environments.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-225ca9aa0d092ffba3910939139b57a4?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}