Skip to content

Commit

Permalink
update readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
TremblingV5 committed Jul 20, 2024
1 parent ffd350d commit 228664e
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion tools/gentool/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ Install GEN as a binary tool
generate unit test for query code
-fieldSignable
detect integer field's unsigned type, adjust generated data type

-mode
enter the genreate mode or leave it blank
```
#### c
default ""
Expand Down Expand Up @@ -120,7 +121,29 @@ Value : False / True

detect integer field's unsigned type, adjust generated data type

#### mode

Value: enter the required data table or leave it blank

Items to be selected:

- WithDefaultQuery
- WithoutContext
- WithQUeryInterface

eg:

```shell
gentool -mode="WithDefaultQuery"
```

```shell
gentool -mode="WithDefaultQuery,WithoutContext"
```

```shell
gentool -mode="WithDefaultQuery,WithoutContext,WithQUeryInterface"
```

### example

Expand Down

0 comments on commit 228664e

Please sign in to comment.