BaseRepository<T extends BaseEntity> class
abstract
Methods
-
count({Database database})
→ Future<int>
-
-
create({Database database})
→ Future
-
-
deleteAll({Database database})
→ Future<int>
-
-
deleteById({required String id, Database database})
→ Future<int>
-
-
deleteByIds({required List<String> ids, Database database})
→ Future<int>
-
-
find({String? id, List<QueryFilter>? filters, List<String>? fields, Map<String, SortOrder>? sortOrder, Database? database})
→ Future<List<T>>
-
-
findAll({List<QueryFilter> filters, List<String> fields, Map<String, SortOrder> sortOrder})
→ Future<List<T>>
-
-
findById({required String id, List<String>? fields, Database? database})
→ Future<T?>
-
-
insertMany({required List<T> entities, Database? database})
→ Future<int>
-
-
insertOne({required T entity, Database? database})
→ Future<int>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
sanitizeIncomingData({required Map<String, dynamic> entity, required List<Column> columns})
→ Map<String, dynamic>
-
-
saveMany({required List<T> entities, Database database, required MergeMode mergeMode})
→ Future<int>
-
-
saveOne({required T entity, Database database, required MergeMode mergeMode})
→ Future<int>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateMany({required List<T> entities, Database database})
→ Future<int>
-
-
updateOne({required T entity, Database database})
→ Future<int>
-