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.
@preconcurrency func run(_ handler: @escaping @Sendable (any SQLRow) -> ()) -> EventLoopFuture<Void>

Parameters

handler

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

Return Value

A completion future.