loadAllBy<T extends Entity> method
Loads all entities of the given AND criteria.
- By AND, we mean it satisfies all values in
whereValues
. -
option
- whether to useforShare
,forUpdate
- or null (default; no lock).
Implementation
Future<List<T>> loadAllBy<T extends Entity>(
Iterable<String>? fields, T newInstance(String oid),
Map<String, dynamic> whereValues, [AccessOption? option])
=> loadAllWith(fields, newInstance,
sqlWhereBy(whereValues), whereValues, null, null, option);