Skip to main content

@postgres/find

Description​

DatabaseSource code

TODO

Options​

resource​

resource *​ResourceRef

Resource is the name of the connection resource to use.

entity​

entity *​Entity

The entity type to find.

preload​

preload​Preload[]

Preload lists the relationship to expand/load.

where​

where​Where[]

Where list the parts of the where clause.

pagination​

pagination​Pagination

Pagination is the optional fields to wrap the results with.

offset​

offset​string (Value expression)

Offset is the query offset.

limit​

limit​string (Value expression)

Limit is the query limit.

type Preload​

field​

field *​string

preload​

preload​Preload[]

type Where​

query​

query *​string

value​

value *​string (Value expression)

type Pagination​

pageIndex​

pageIndex​string

pageCount​

pageCount​string

offset​

offset​string

limit​

limit​string

count​

count​string

total​

total​string

items​

items *​string