rexie
rexie copied to clipboard
Rexie is an easy-to-use, futures based wrapper around IndexedDB that compiles to webassembly.
I came across this repo while looking for other indexeddb wrappers in rust and the API does looks way better than most I've seen or currently use (although I have...
Hi! * Added `getAllKeys` API support (on both transaction and store objects) - closes #24 * Added `Store::key_exists` API * **Breaking**: `get` now returns an `Option` when the underlying `JsValue`...
Currently, `rexie` relies on behavior of the futures executor that is not actually specified: it assumes that waking a task from an IndexedDB callback, and then returning from the IndexedDB...
I'm using rexie in a project to insert a large number of entries into a database, on the order of 300k. As this takes its sweet time, especially on mobile...
I have code that tries to read/modify/write entries in a table. It basically looks like this: ```rust async fn modify(ids: &[Uuid]) { let transaction = database.transaction(&["foo"], TransactionMode::ReadWrite)?; let table =...
Hi Could you provide complete example for counter / todomvc app or something? I don't understand how to proper call async methods from rexie. Counter app examples for: - Leptos...
Either this should be mentioned in a documentation, or the delete function should become a method that automatically closes the database first.
Should solve #24
Hello! This is the exact same as #25, except I fixed the documentation/tests.