asQuery property

Query<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)> get asQuery

Get Query with the same rows as this QuerySingle.

This returns a Query with at-most one row.

Note

This is method is only useful for converting a QuerySingle into a Query representation, which can be necessary if you wish to pass a QuerySingle into a function that only accepts Query.

Implementation

Query<(Expr<A>, Expr<B>, Expr<C>, Expr<D>, Expr<E>)> get asQuery => _query;