test: bench inserts

This commit is contained in:
shenlong-tanwen
2025-02-26 12:56:25 +05:30
parent 0e8b19e269
commit 65f5daa32c
11 changed files with 804 additions and 4 deletions
@@ -3,6 +3,9 @@ import 'dart:async';
import 'package:immich_mobile/domain/models/asset.model.dart';
abstract interface class IAssetRepository {
/// Batch upsert asset
Future<bool> upsert(Asset assets);
/// Batch upsert asset
Future<bool> upsertAll(Iterable<Asset> assets);