What data types does IndexedDb support?

I searched but cannot find anything about the data types that IndexedDB supports. I know that it supports core Javascript objects, but what if I want to save an instance of an object or data block? Does IndexedDB support anything more than simple objects, or does it have data types to help create creative things?

thank

+4
source share
1 answer

IndexedDB uses the Structural Cloning Algorithm to serialize data. Basically, it can save all javascript data types in a simple object, in a nested or circular reference.

+5
source

Source: https://habr.com/ru/post/1532740/


All Articles