Interface for WorkDB database operations. But sync!
- Implementers
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clearDatabaseSync(
) → void - Clears all data from the database.
-
createMultipleSync(
List< ItemWithId> inputs) → void - Creates multiple items in the database.
-
createOrUpdateMultipleSync(
List< ItemWithId> inputs) → void - Creates or updates multiple items in the database.
-
createOrUpdateSync(
ItemWithId input) → void - Creates an item if it doesn't exist, or updates it if it does.
-
createSync(
ItemWithId input) → void - Creates a new item in the database.
-
deleteCollectionSync(
String collection) → void - Deletes an entire collection from the database.
-
deleteSync(
ItemId input) → void - Deletes an item from the database.
-
getCollectionsSync(
) → List< String> - Returns a list of all collection names in the database.
-
getItemsInCollectionSync(
String collection) → List< String> - Returns a list of all item IDs in a collection.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieveMultipleSync(
List< ItemId> ids) → List<ItemOutput?> - Retrieves multiple items from the database.
-
retrieveSync(
ItemId input) → ItemOutput? - Retrieves an item from the database.
-
toString(
) → String -
A string representation of this object.
inherited
-
updateSync(
ItemWithId input) → void - Updates an existing item in the database.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited