Skip to content
Vapor Week is coming 14th September!

Initializer

init(_:)

Create a group expression with a list of zero or more subexpressions.
init(_ expressions: [any SQLExpression])

Parameters

expressions

The list of expressions to parenthesize.

Discussion

When more than one expression is provided, they are wrapped with a default SQLList before serialization, resulting in a parenthesized comma-separated list.