UnitOfWork class

Constructors

UnitOfWork()

Properties

hashCode int
The hash code for this object.
no setterinherited
operations List<Operation>
no setter
opResultIdStrings List<String>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionIsolation IsolationLevelEnum
getter/setter pair

Methods

addToRelation(dynamic parent, String columnName, dynamic children, [String? parentTable]) OpResult?
bulkCreate<T>(List<T> instances, [String? tableName]) OpResult
bulkDelete<T>(T value, [String? tableName]) OpResult
bulkUpdate(Map changes, dynamic identifier, [String? tableName]) OpResult
bulkUpsert<T>(List<T> instances, [String? tableName]) OpResult
create<T>(T instance, [String? tableName]) OpResult
delete<T>(T value, [String? tableName]) OpResult
deleteRelation(dynamic parent, String columnName, dynamic children, [String? parentTable]) OpResult?
execute() Future<UnitOfWorkResult>
find(String tableName, DataQueryBuilder queryBuilder) OpResult
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setRelation(dynamic parent, String columnName, dynamic children, [String? parentTable]) OpResult?
toJson() Map
toString() String
A string representation of this object.
inherited
update<T>(T changes, [dynamic identifier]) OpResult
upsert<T>(T instance, [String? tableName]) OpResult

Operators

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

Constants

OP_RESULT_ID → const String
PROP_NAME → const String
REFERENCE_MARKER → const String
RESULT_INDEX → const String