Skip to main content

@postgres/find

Description

DatabaseSource code

TODO

Options

resource

resource *ResourceRef

Resource is the name of the connection resource to use.

namespace

namespace *string

Namespace is the type namespace to load.

type

type *string

Type is the type name to load.

preload

preloadPreload[]

Preload lists the relationship to expand/load.

where

whereWhere[]

Where list the parts of the where clause.

pagination

paginationPagination

Pagination is the optional fields to wrap the results with.

offset

offsetstring (Value expression)

Offset is the query offset.

limit

limitstring (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

pageIndexstring

pageCount

pageCountstring

offset

offsetstring

limit

limitstring

count

countstring

total

totalstring

items

items *string