IDataStore<E> class abstract

Implementers

Constructors

IDataStore()

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

addRelation(String parentObjectId, String relationColumnName, {List<String>? childrenObjectIds, String? whereClause}) Future<int?>
create(List<E> objects) Future<List<String>?>
deepSave(E entity) Future<E?>
deleteRelation(String parentObjectId, String relationColumnName, {List<String>? childrenObjectIds, String? whereClause}) Future<int?>
find([DataQueryBuilder? queryBuilder]) Future<List<E?>?>
findById(String id, {List<String>? relations, int? relationsDepth, DataQueryBuilder? queryBuilder}) Future<E?>
findFirst({List<String>? relations, int? relationsDepth}) Future<E?>
findLast({List<String>? relations, int? relationsDepth}) Future<E?>
getObjectCount([DataQueryBuilder? queryBuilder]) Future<int?>
loadRelations<R>(String objectId, LoadRelationsQueryBuilder<R> queryBuilder) Future<List<R?>?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove({E? entity, String? whereClause}) Future<int?>
rt() EventHandler<E>
save(E entity, {bool isUpsert = false}) Future<E?>
setRelation(String parentObjectId, String relationColumnName, {List<String>? childrenObjectIds, String? whereClause}) Future<int?>
toString() String
A string representation of this object.
inherited
update(String whereClause, Map changes) Future<int?>

Operators

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