verifyLink method
Verifies the integrity of a link.
Throws an exception if not exactly sourceIds
as linked to the
targetIds
.
Do not use this method in production apps.
Implementation
@override
@visibleForTesting
@experimental
Future<void> verifyLink(
String linkName,
List<int> sourceIds,
List<int> targetIds,
) {
return _spanHelper.asyncWrapInSpan(
'verifyLink',
() {
// ignore: invalid_use_of_visible_for_testing_member
return _isarCollection.verifyLink(linkName, sourceIds, targetIds);
},
dbName: _dbName,
collectionName: name,
);
}