Skip to main content

@postgres/load

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.

key

key *string (Value expression)

ID is the entity identifier expression.

preload

preloadPreload[]

Preload lists the relationship to expand/load.

notFoundError

notFoundError *string

NotFoundError is the error to return if the key is not found.

type Preload

field

field *string

preload

preload *Preload[]