InsertionAdapter<T> class
Constructors
-
InsertionAdapter(DatabaseExecutor database, String entityName, Map<
String, Object?> valueMapper(T), [StreamController<String> ? changeListener])
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
-
insert(
T item, OnConflictStrategy onConflictStrategy) → Future< void> -
insertAndReturnId(
T item, OnConflictStrategy onConflictStrategy) → Future< int> -
insertList(
List< T> items, OnConflictStrategy onConflictStrategy) → Future<void> -
insertListAndReturnIds(
List< T> items, OnConflictStrategy onConflictStrategy) → Future<List< int> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited