We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b5a9c0 commit 9d43fb9Copy full SHA for 9d43fb9
src/cursor/abstract_cursor.ts
@@ -474,14 +474,6 @@ export abstract class AbstractCursor<
474
}
475
return array;
476
477
-
478
- async toArrayOld(): Promise<TSchema[]> {
479
- const array = [];
480
- for await (const document of this) {
481
- array.push(document);
482
- }
483
- return array;
484
485
/**
486
* Add a cursor flag to the cursor
487
*
0 commit comments