Skip to main content

@postgres/query

Description​

DatabaseSource code

TODO

Options​

resource​

resource *​ResourceRef

Resource is the name of the connection resource to use.

sql​

sql *​string

SQL is the SQL query to execute.

args​

args​string (Value expression)[]

Args are the evaluations to use as arguments for the SQL query.

single​

single *​bool

Single indicates a single row should be returned if found.