loadModelIds method

FutureOr<Iterable<T>> loadModelIds(
  1. Iterable<String> ids, {
  2. String? databaseName,
})

Loads all of the T models with the given ids in repository for the given database.

Implementation

FutureOr<Iterable<T>> loadModelIds(
  Iterable<String> ids, {
  String? databaseName,
}) async {
  return loadModels(
    (database) => database.findModels<T>(ids),
    databaseName: databaseName,
  );
}