getListByIds method
Gets a list of data items retrieved by given unique ids.
correlationId
(optional) transaction id to trace execution through call chain.ids
ids of data items to be retrieved Return Future that receives a data list Throws error.
Implementation
Future<List<T>> getListByIds(String? correlationId, List<K> ids) async {
var filter = {
'_id': {r'$in': ids}
};
return getListByFilterEx(correlationId, filter, null);
}