update README
This commit is contained in:
parent
c42fde65c3
commit
8b9c32247f
17
README.md
17
README.md
@ -231,6 +231,15 @@ const paginateConfig: PaginateConfig<CatEntity> {
|
|||||||
*/
|
*/
|
||||||
relations: [],
|
relations: [],
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Required: false
|
||||||
|
* Type: boolean
|
||||||
|
* Default: false
|
||||||
|
* Description: Load eager relations using TypeORM's eager property.
|
||||||
|
* Only works if `relations` is not defined.
|
||||||
|
*/
|
||||||
|
loadEagerRelations: true
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Required: false
|
* Required: false
|
||||||
* Type: boolean
|
* Type: boolean
|
||||||
@ -253,14 +262,6 @@ const paginateConfig: PaginateConfig<CatEntity> {
|
|||||||
* Description: Overrides the origin of absolute resource links if set.
|
* Description: Overrides the origin of absolute resource links if set.
|
||||||
*/
|
*/
|
||||||
origin: 'http://cats.example',
|
origin: 'http://cats.example',
|
||||||
|
|
||||||
/**
|
|
||||||
* Required: false
|
|
||||||
* Type: boolean
|
|
||||||
* Default: false
|
|
||||||
* Description: Load eager relations using TypeORM's eager property.
|
|
||||||
*/
|
|
||||||
loadEagerRelations: true
|
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user