Skip to content

IProjectedQuery<TResult>.QueryAsync method

Asynchronously streams the projected results.

public IAsyncEnumerable<TResult> QueryAsync(IDbConnection connection, 
    IReadOnlyDictionary<string, object?>? parameters = null, 
    CancellationToken cancellationToken = default)
parameter description
connection The connection.
parameters Optional parameter values to override for this execution.
cancellationToken The cancellation token.

Return Value

An asynchronous stream of projected results.

See Also