gruns / ImmortalDB

:nut_and_bolt: A relentless key-value store for the browser.
MIT License
3.05k stars 61 forks source link

You are only allowing strings and return undefined for JSON #83

Open DATEx2 opened 10 months ago

DATEx2 commented 10 months ago

In fact returning JSON it would work like normal - but you explicitely check and return only if the value is string otherwise undefined.

This is rather a bug, as INDEXEDDB can store JSON and retrieve JSON So please remove this rather unfortunate limitation!