findJoinRows<JK extends SdbKey, JV extends SdbValue> method
Future<List<SdbJoinRow<K, V, JK, JV> > >
findJoinRows<JK extends SdbKey, JV extends SdbValue>(
- SdbClient client, {
- required SdbJoinTarget<
JK, JV> target, - SdbFindOptions<
SK> ? options, - SdbJoinFindOptions? joinOptions,
The rows joinIterate would hand out, as a list.
Same options; prefer joinIterate when the whole result does not have to be held in memory.
Implementation
Future<List<SdbJoinRow<K, V, JK, JV>>>
findJoinRows<JK extends SdbKey, JV extends SdbValue>(
SdbClient client, {
required SdbJoinTarget<JK, JV> target,
SdbFindOptions<SK>? options,
SdbJoinFindOptions? joinOptions,
}) async {
var rows = <SdbJoinRow<K, V, JK, JV>>[];
await joinIterate<JK, JV>(
client,
target: target,
options: options,
joinOptions: joinOptions,
onRow: (row) {
rows.add(row);
return true;
},
);
return rows;
}