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-2Lines changed: 5 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -481,16 +481,19 @@ ifdef::feature-scroll[]
481
481
endif::[]
482
482
483
483
[[repositories.limit-query-result]]
484
-
== Limiting Query Results
484
+
=== Limiting Query Results
485
485
486
-
You can limit the results of query methods by using the `first` or `top` keywords, which you can use interchangeably.
486
+
In addition to paging it is possible to limit the result size using a dedicated `Limit` parameter.
487
+
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.
487
488
You can append an optional numeric value to `top` or `first` to specify the maximum result size to be returned.
488
489
If the number is left out, a result size of 1 is assumed.
489
490
The following example shows how to limit the query size:
490
491
491
492
.Limiting the result size of a query with `Top` and `First`
0 commit comments