aboutsummaryrefslogtreecommitdiff
path: root/packages/idb-bridge/README.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-06-15 22:44:54 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-06-15 22:44:54 +0200
commit2ee9431f1ba5bf67546bbf85758a01991c40673f (patch)
tree4581c4f3c966d742c66ea7f4bae4f9a3f8e2f5ff /packages/idb-bridge/README.md
parent65eb8b96f894491d406f91070df53ccbd43d19c9 (diff)
downloadwallet-core-2ee9431f1ba5bf67546bbf85758a01991c40673f.tar.xz
idb wip
Diffstat (limited to 'packages/idb-bridge/README.md')
-rw-r--r--packages/idb-bridge/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/idb-bridge/README.md b/packages/idb-bridge/README.md
new file mode 100644
index 000000000..9298f2925
--- /dev/null
+++ b/packages/idb-bridge/README.md
@@ -0,0 +1,18 @@
+# idb-bridge
+
+The `idb-bridge` package implements the IndexedDB API with multiple backends.
+
+Currently available backends are:
+ * sqlite: A SQLite3 database. Can be backed by a file or in memory.
+ * memdb: An unoptimized in-memory storage backend. Useful for environments
+ that do not have sqlite.
+
+## Known Issues
+
+IndexedDB assumes that after a database has been opened, the set of object stores and indices does not change,
+even when there is no transaction active. We cannot guarantee this with SQLite.
+
+## Acknowledgements
+
+This library is based on the fakeIndexedDB library
+(https://github.com/dumbmatter/fakeIndexedDB). \ No newline at end of file