idb_shim.utils.idb_utils library

Classes

CursorRow
Cursor row.
KeyCursorRow
Key cursor row.

Functions

copyDatabase(Database srcDatabase, IdbFactory dstFactory, String dstDbName) Future<Database>
Copy a database content to a new database.
copySchema(Database srcDatabase, IdbFactory dstFactory, String dstDbName) Future<Database>
Copy a database to another return the opened database
copyStore(Database srcDatabase, String srcStoreName, Database dstDatabase, String dstStoreName) Future
Copy a store from a database to another existing one.
cursorToList(Stream<CursorWithValue> stream) Future<List<CursorRow>>
Convert an openCursor stream to a list
keyCursorToList(Stream<Cursor> stream) Future<List<KeyCursorRow>>
Convert an openKeyCursor stream to a list