search method
Implementation
Future<List<Map<String, dynamic>>> search({
required String table,
String? text,
List<double>? vector,
dynamic where,
int? offset,
int? limit,
List<String>? select,
List<String>? namespace,
}) async {
final rows = <Map<String, dynamic>>[];
await for (final chunk in searchStream(
table: table,
text: text,
vector: vector,
where: where,
offset: offset,
limit: limit,
select: select,
namespace: namespace,
)) {
rows.addAll(chunk);
}
return rows;
}