File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
source/fundamentals/crud/read-operations Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,13 +13,13 @@ Access Data From a Cursor
13
13
Overview
14
14
--------
15
15
16
- In this guide, you can learn how to access data using a cursor with the
16
+ In this guide, you can learn how to access data using a ** cursor** with the
17
17
MongoDB Java driver.
18
18
19
- Read operations that return multiple documents do not immediately return
20
- all values matching the query. Because a query can potentially match
21
- a large number of documents, we need to be able to access or store the
22
- matched documents.
19
+ A cursor is a mechanism that allows an application to iterate over database
20
+ results while only holding a subset of them in memory at a given time. The
21
+ driver uses cursors in read operations that match multiple documents to return
22
+ matched documents in batches as opposed to returning them all at once.
23
23
24
24
This page uses an initiating method, ``find()`` to show how to access
25
25
data from a :java-docs:`FindIterable
You can’t perform that action at this time.
0 commit comments