File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change 33const MongoError = require ( './core' ) . MongoError ;
44const Cursor = require ( './cursor' ) ;
55const CursorState = require ( './core/cursor' ) . CursorState ;
6- const deprecate = require ( 'util' ) . deprecate ;
76
87/**
98 * @fileOverview The **AggregationCursor** class is an internal class that embodies an aggregation cursor on MongoDB
@@ -225,12 +224,6 @@ class AggregationCursor extends Cursor {
225224// aliases
226225AggregationCursor . prototype . get = AggregationCursor . prototype . toArray ;
227226
228- // deprecated methods
229- deprecate (
230- AggregationCursor . prototype . geoNear ,
231- 'The `$geoNear` stage is deprecated in MongoDB 4.0, and removed in version 4.2.'
232- ) ;
233-
234227/**
235228 * AggregationCursor stream data event, fired for each document in the cursor.
236229 *
You can’t perform that action at this time.
0 commit comments