File tree Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Expand file tree Collapse file tree 2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -481,7 +481,6 @@ describe('completer.completer', () => {
481
481
'db.shipwrecks.find({feature_type: \"Wrecks - Visible\"}).allowPartialResults' ,
482
482
'db.shipwrecks.find({feature_type: \"Wrecks - Visible\"}).batchSize' ,
483
483
'db.shipwrecks.find({feature_type: \"Wrecks - Visible\"}).close' ,
484
- 'db.shipwrecks.find({feature_type: \"Wrecks - Visible\"}).count' ,
485
484
'db.shipwrecks.find({feature_type: \"Wrecks - Visible\"}).explain' ,
486
485
'db.shipwrecks.find({feature_type: \"Wrecks - Visible\"}).forEach' ,
487
486
'db.shipwrecks.find({feature_type: \"Wrecks - Visible\"}).hasNext' ,
Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ export default class Cursor extends AbstractCursor<ServiceProviderCursor> {
88
88
89
89
@serverVersions ( [ ServerVersions . earliest , '4.0.0' ] )
90
90
@returnsPromise
91
+ @deprecated
91
92
async count ( ) : Promise < number > {
92
93
return this . _cursor . count ( ) ;
93
94
}
You can’t perform that action at this time.
0 commit comments