Skip to content

Commit 28c6569

Browse files
Update README.md
1 parent a4e5632 commit 28c6569

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,16 +62,16 @@ This project, implement instance of basic feature, <br> you maybe want use for A
6262
2 - buildNativeQueryCondition method in Utils class use for create native query base on request queryString <br>
6363
3 - dynamic order and direction for sort data handle in daoRepository <br>
6464
4 - more detail about search feature, see searchEngineV2.drawio <br>
65-
5 - sample rest search request: <br>
66-
- http://localhost:9090/api/v2/user/search?firstName=h&orderBy=firstName_asc, gender_desc&page=1&size=5 <br>
65+
5 - sample rest search request: <br>
66+
```http://localhost:9090/api/v2/user/search?firstName=h&orderBy=firstName_asc, gender_desc&page=1&size=5```
6767

6868
### search v3 base on CriteriaBuilder feature
6969
1 - query clause, order for result and pagination can define in client Request as queryString and handle in AbstractController <br>
7070
2 - define Quartet from javaTuples lib that use for define name of field from client, name of field in model, sqlOperation and sqlCondition <br>
7171
3 - define Sort.Order object of spring with getSortOrderFromPagedQuery method to use for order by Clause<br>
7272
4 - then use getUserQueryWithCriteriaBuilder in userRepository for create query and get Result<br>
7373
5 - sample rest search request: <br>
74-
- http://localhost:9090/api/v2/user/search?firstName=h&orderBy=firstName_asc, gender_desc&page=1&size=5 <br>
74+
```http://localhost:9090/api/v2/user/search?firstName=h&orderBy=firstName_asc, gender_desc&page=1&size=5```
7575

7676
### test feature
7777
1 - generate sample data baseOn model with javaFaker <br>
@@ -83,4 +83,4 @@ This project, implement instance of basic feature, <br> you maybe want use for A
8383

8484
### dataSource feature
8585
1 - choose between use simpleDataSource or HikariCp datasource <br>
86-
2 - you can customize properties for dataSource in application.properties
86+
2 - you can customize properties for dataSource in application.properties

0 commit comments

Comments
 (0)