Skip to content

Commit 602cd28

Browse files
committed
Extend documentation on sorting for Keyset scrolling.
Closes #2846
1 parent af2d97a commit 602cd28

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main/asciidoc/repositories-scrolling.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -101,3 +101,6 @@ Scroll queries applying Keyset-Filtering require to the properties used in the s
101101

102102
You can use interface and DTO projections, however make sure to include all properties that you've sorted by to avoid keyset extraction failures.
103103

104+
When specifying your `Sort` order, it is sufficient to include sort properties relevant to your query;
105+
You do not need to ensure unique query results if you do not want to.
106+
The keyset query mechanism amends your sort order by including the primary key (or any remainder of composite primary keys) to ensure each query result is unique.

0 commit comments

Comments
 (0)