getAllByIndex method
Get a list of objects by the unique index indexName
and keys
.
Returns null
if the object does not exist.
If possible, you should use the generated type-safe methods instead.
Implementation
@override
Future<List<OBJ?>> getAllByIndex(String indexName, List<IndexKey> keys) {
return _spanHelper.asyncWrapInSpan(
'getAllByIndex',
() {
return _isarCollection.getAllByIndex(indexName, keys);
},
dbName: _dbName,
collectionName: name,
);
}