Add support for scrolling using offset- and keyset-based strategies.
We now support scrolling through large query results using ScrollPosition and Window's of data. See: #4308 Original Pull Request: #4317
This commit is contained in:
committed by
Christoph Strobl
parent
aff4e4fd02
commit
7d485d732a
@@ -6,6 +6,8 @@ ifdef::backend-epub3[:front-cover-image: image:epub-cover.png[Front Cover,1050,1
|
||||
:spring-data-commons-docs: ../../../../spring-data-commons/src/main/asciidoc
|
||||
:store: Mongo
|
||||
|
||||
:feature-scroll: true
|
||||
|
||||
(C) 2008-2022 The original authors.
|
||||
|
||||
NOTE: Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically.
|
||||
|
||||
@@ -1289,6 +1289,7 @@ The `Query` class has some additional methods that provide options for the query
|
||||
* `Query` *limit* `(int limit)` used to limit the size of the returned results to the provided limit (used for paging)
|
||||
* `Query` *skip* `(int skip)` used to skip the provided number of documents in the results (used for paging)
|
||||
* `Query` *with* `(Sort sort)` used to provide sort definition for the results
|
||||
* `Query` *with* `(ScrollPosition position)` used to provide a scroll position (Offset- or Keyset-based pagination) to start or resume a `Scroll`
|
||||
|
||||
[[mongo-template.querying.field-selection]]
|
||||
==== Selecting fields
|
||||
|
||||
Reference in New Issue
Block a user