From 9d43fb97eb505b3153eb7a6573e3793266715261 Mon Sep 17 00:00:00 2001 From: Aditi Khare Date: Wed, 31 Jul 2024 16:07:43 -0400 Subject: [PATCH] requested changes --- src/cursor/abstract_cursor.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/cursor/abstract_cursor.ts b/src/cursor/abstract_cursor.ts index 620bc70731f..5b864de9fbe 100644 --- a/src/cursor/abstract_cursor.ts +++ b/src/cursor/abstract_cursor.ts @@ -474,14 +474,6 @@ export abstract class AbstractCursor< } return array; } - - async toArrayOld(): Promise { - const array = []; - for await (const document of this) { - array.push(document); - } - return array; - } /** * Add a cursor flag to the cursor *