@faasjs/pg / SqlExpression
Type Alias: SqlExpression
SqlExpression =
object
A parameterized SQL expression created by sql.
Expressions can be used as values in QueryBuilder.update. Static template
text is treated as trusted application SQL, identifiers should be inserted with
sql.ref(), and every other interpolation is bound as a query parameter.
Properties
[SQL_EXPRESSION]
readonly[SQL_EXPRESSION]:true
params
readonlyparams: readonlyunknown[]
text
readonlytext:string