Path: redb-route/redb.Route.Core/Extensions/RedbQueryOutput.cs
Snapshot: redb-route, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages.
License: Apache-2.0. Repository: https://github.com/redbase-app/redb-route
Page: https://redbase.app/src/dev-2026-12-06/redb-route/redb.Route.Core/Extensions/RedbQueryOutput.cs
----
namespace redb.Route.RedbCore.Extensions;
/// What RedbQuery puts into its target — one terminal operation of the redb query.
public enum RedbQueryOutput
{
/// ToListAsync: the list of RedbObject<TProps> (the default).
List,
/// FirstOrDefaultAsync: the first object in the query's order, or null when nothing matched.
First,
/// CountAsync: the number of matches, an .
Count,
/// AnyAsync: whether anything matched, a .
Any,
}