compact method

  1. @override
Future<JobDone> compact()
override

Implementation

@override
Future<JobDone> compact() async {
  try {
    _ensureStoreInitialized();
    await _store!.runInTransaction(TxMode.write, () {
      // ObjectBox automatically manages compaction
      // This is a no-op but maintains the interface
    });
    return const JobDone();
  } catch (e) {
    throw DatabaseBridgeException(error: e);
  }
}