EntitySource<O extends Object> class abstract

Inheritance
Implementers

Constructors

EntitySource(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

count({EntityMatcher<O>? matcher, Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, Transaction? transaction}) FutureOr<int>
countByQuery(String query, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, Transaction? transaction}) FutureOr<int>
existsID(dynamic id, {Transaction? transaction}) FutureOr<bool>
getEntityID(O o) Object?
inherited
hasReferencedEntities() bool
length({Transaction? transaction}) FutureOr<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
select(EntityMatcher<O> matcher, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, Transaction? transaction, int? limit, EntityResolutionRules? resolutionRules}) FutureOr<Iterable<O>>
selectAll({Transaction? transaction, int? limit, EntityResolutionRules? resolutionRules}) FutureOr<Iterable<O>>
selectByID(dynamic id, {Transaction? transaction}) FutureOr<O?>
selectByIDs(List ids, {Transaction? transaction}) FutureOr<List<O?>>
selectByQuery(String query, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, Transaction? transaction, int? limit}) FutureOr<Iterable<O>>
selectFirstByQuery(String query, {Object? parameters, List? positionalParameters, Map<String, Object?>? namedParameters, Transaction? transaction}) FutureOr<O?>
selectRelationship<E>(O? o, String field, {Object? oId, TypeInfo? fieldType, Transaction? transaction}) FutureOr<Iterable>
selectRelationships<E>(List<O>? os, String field, {List? oIds, TypeInfo? fieldType, Transaction? transaction}) FutureOr<Map<dynamic, Iterable>>
toString() String
A string representation of this object.
inherited

Operators

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