EntityStorage<O extends Object> class abstract

Inheritance
Implementers

Constructors

EntityStorage(String name)

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
nameSimplified String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

checkEntityFields(O o) → void
delete(EntityMatcher<O> matcher, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, Transaction? transaction}) FutureOr<Iterable<O>>
deleteByID(dynamic id, {Transaction? transaction}) FutureOr<O?>
deleteByQuery(String query, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, Transaction? transaction}) FutureOr<Iterable<O>>
deleteEntity(O o, {Transaction? transaction}) FutureOr<O?>
deleteEntityCascade(O o, {Transaction? transaction}) FutureOr<Iterable>
getEntityID(O o) Object?
inherited
isStored(O o, {Transaction? transaction}) bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setRelationship<E extends Object>(O o, String field, List<E> values, {TypeInfo? fieldType, Transaction? transaction}) FutureOr<bool>
store(O o, {Transaction? transaction}) FutureOr
storeAll(Iterable<O> o, {Transaction? transaction}) FutureOr<List>
toString() String
A string representation of this object.
inherited
tryDeleteByID(dynamic id, {Transaction? transaction}) FutureOr<O?>
tryDeleteEntity(O o, {Transaction? transaction}) FutureOr<O?>

Operators

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

Static Methods

deleteCascadeGeneric<O extends Object>(O o, {Transaction? transaction, EntityHandler<O>? entityHandler, EntityRepository<O>? entityRepository, EntityRepositoryProvider? repositoryProvider}) Future<Iterable>