TDB2Box<T> class

Constructors

TDB2Box({required TDB2 db, required IndexedDB indexedDB, required TDB2Adapter<T> adapter})
const

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

add(T value, {int? parentId}) Future<int>
Add Box<T>
addAll(List<T> values) Future<void>
Add All Box<T>
deleteAll() Future<void>
Delete All Box<List<T>>
deleteById(int id, {bool childItemsWillDelete = false}) Future<void>
Delete By Id Box<T>
getAll({int? parentId}) Future<List<T>>
Read All Box<List<T>>
getAllStream({int? parentId}) Stream<T>
Read All Stream Box<T>
getOne(bool test(T value), {int? parentId}) Future<T?>
Get One Box<T?>
getOneStream(bool test(T value), {int? parentId}) Stream<T?>
Get One With StreamBox<T?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryAll(bool test(T value), {int? parentId}) Future<List<T>>
Query All Box<List<T>>
queryAllStream(bool test(T value), {int? parentId}) Stream<T>
Query All With Stream Box<List<T>>
toString() String
A string representation of this object.
inherited
updateById(int id, T value) Future<void>
Update By Id Box<T>

Operators

operator ==(Object other) bool
The equality operator.
inherited