summaryrefslogtreecommitdiff
path: root/src/mongo/client/dbclient_cursor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/client/dbclient_cursor.h')
-rw-r--r--src/mongo/client/dbclient_cursor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/client/dbclient_cursor.h b/src/mongo/client/dbclient_cursor.h
index 1f64da56766..e4a25e673d0 100644
--- a/src/mongo/client/dbclient_cursor.h
+++ b/src/mongo/client/dbclient_cursor.h
@@ -173,6 +173,10 @@ public:
return tailable() && _findRequest->getAwaitData();
}
+ bool isExhaust() const {
+ return _isExhaust;
+ }
+
/**
* Changes the cursor's batchSize after construction. Can change after requesting first batch.
*/