Skip to content

Commit c15d23e

Browse files
authored
Update query_specs.adoc
1 parent 1f1058d commit c15d23e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/query_specs.adoc

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,10 +196,18 @@ TIP: the `i` character at the start of the text operator donates case-insensitiv
196196

197197
=== Paging and sorting
198198

199-
Due to being built on top of Spring Data JPA, __Spring Data JPA MongoDB Expressions__ library is fully compitable with the
199+
Due to being built on top of Spring Data JPA, __Spring Data JPA MongoDB Expressions__ library is fully compatible with the
200200
Paging and Sorting features of Spring Data JPA.
201201

202-
1. Paging and sorting:
202+
1. Paging and sorting in the url:
203+
+
204+
[source,text]
205+
----
206+
/api/search?page=0&size=20&sort=id,desc
207+
----
208+
209+
210+
2. Paging and sorting in code:
203211
+
204212
[source,json]
205213
----

0 commit comments

Comments
 (0)