Skip to content

Instance Property

body

One or more expressions containing procedural SQL statements in the syntax supported by the dialect.
var body: [any SQLExpression]?

Discussion

That this is an array is an API design flaw; the expressions in the array, if any, are joined with space characters and the result is used as the body. It is recommended to use SQLQueryString to generate an appropriate expression. Either this property or procedure must be non-nil, and most dialects only support one or the other.

Note

The body should not include BEGIN/END statements, regardless of dialect.