Expand description
A callback based crate for interacting with IndexedDB on browsers using webassembly.
Structs§
- Cursor
- Represents a cursor for traversing or iterating over multiple records in a database.
- Database
Database
provides a connection to a database; you can use anDatabase
object to open a transaction on your database then create, manipulate, and delete objects (data) in that database. The object provides the only way to get and manage versions of the database.- Database
Request - Request returned by
Factory
when opening or deleting a database. - Factory
- Lets applications asynchronously access the indexed databases.
- Index
- Provides asynchronous access to an index in a database.
- Index
Params - Options when creating
Index
. - KeyCursor
- Represents a key cursor for traversing or iterating over multiple records (only keys) in a database.
- KeyRange
- Represents a continuous interval over some data type that is used for keys.
- Object
Store - Represents an object store in a database.
- Object
Store Params - Options when creating an
ObjectStore
. - Store
Request - Request returned when performing operations on an
ObjectStore
. - Transaction
- Provides a static, asynchronous transaction on a database. All reading and writing of data is done within transactions.
- Version
Change Event - Event triggered when the database version changes, as the result of an
DatabaseRequest::on_upgrade_needed
event handler function.
Enums§
- Cursor
Direction - Specifies the cursor direction.
- Error
- Error type for
idb-sys
crate. - KeyPath
- Represents key path of an object store
- Query
- Specifies a query when fetching data from object store
- Request
Ready State - State of a request.
- Transaction
Mode - Specifies the transaction mode.
Traits§
- Request
- Specifies all the functions supported by request objects.