You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc
+5-2
Original file line number
Diff line number
Diff line change
@@ -454,16 +454,19 @@ ifdef::feature-scroll[]
454
454
endif::[]
455
455
456
456
[[repositories.limit-query-result]]
457
-
== Limiting Query Results
457
+
=== Limiting Query Results
458
458
459
-
You can limit the results of query methods by using the `first` or `top` keywords, which you can use interchangeably.
459
+
In addition to paging it is possible to limit the result size using a dedicated `Limit` parameter.
460
+
You can also limit the results of query methods by using the `first` or `top` keywords, which you can use interchangeably but may not be mixed with a `Limit` parameter.
460
461
You can append an optional numeric value to `top` or `first` to specify the maximum result size to be returned.
461
462
If the number is left out, a result size of 1 is assumed.
462
463
The following example shows how to limit the query size:
463
464
464
465
.Limiting the result size of a query with `Top` and `First`
0 commit comments