Skip to main content

@sql/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

argsstring (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.