Skip to content

Commit 9d43fb9

Browse files
requested changes
1 parent 7b5a9c0 commit 9d43fb9

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/cursor/abstract_cursor.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,6 @@ export abstract class AbstractCursor<
474474
}
475475
return array;
476476
}
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-
}
485477
/**
486478
* Add a cursor flag to the cursor
487479
*

0 commit comments

Comments
 (0)