Skip to content

Commit

Permalink
requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aditi-khare-mongoDB committed Jul 31, 2024
1 parent 7b5a9c0 commit 9d43fb9
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/cursor/abstract_cursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -474,14 +474,6 @@ export abstract class AbstractCursor<
}
return array;
}

async toArrayOld(): Promise<TSchema[]> {
const array = [];
for await (const document of this) {
array.push(document);
}
return array;
}
/**
* Add a cursor flag to the cursor
*
Expand Down

0 comments on commit 9d43fb9

Please sign in to comment.