Skip to content

Commit c48b273

Browse files
DOCSP-17642 add cursor definition (#142)
1 parent abef198 commit c48b273

File tree

1 file changed

+5
-5
lines changed
  • source/fundamentals/crud/read-operations

1 file changed

+5
-5
lines changed

source/fundamentals/crud/read-operations/cursor.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ Access Data From a Cursor
1313
Overview
1414
--------
1515

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
1717
MongoDB Java driver.
1818

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.
2323

2424
This page uses an initiating method, ``find()`` to show how to access
2525
data from a :java-docs:`FindIterable

0 commit comments

Comments
 (0)