Skip to content

Instance Method

run(_:)

Run the query specified by the builder, calling the provided handler closure with each output row, if any, as it is received.
func run(_ handler: @escaping @Sendable (any SQLRow) -> ()) async throws

Parameters

handler

A closure which receives each output row one at a time.

See Also

Getting Rows