public Task <TResult> Min <TResult>(IQueryable <TResult> queryable) { var expression = queryable.Expression; var query = QueryParser.GetParsedQuery(expression); return(AddItem(AggregateQueryHandler <TResult> .Min(_schema, query))); }
public Task <TResult> Min <TResult>(IQueryable <TResult> queryable) { var linqQuery = queryable.As <IMartenQueryable <TResult> >().ToLinqQuery(); return(AddItem(AggregateQueryHandler <TResult> .Min(linqQuery), null)); }
public Task <TResult> MinAsync <TResult>(CancellationToken token) { return(executeAsync(q => AggregateQueryHandler <TResult> .Min(Schema, q), token)); }