boolinq icon indicating copy to clipboard operation
boolinq copied to clipboard

I would like to easily retrieve the grouping fields after grouping by multiple fields.

Open prehonor opened this issue 3 months ago • 0 comments

boolinq::from(top10)
    .groupBy([](const T& holder) {
        return std::make_tuple(holder.code, holder.date);  // something like this way
        // return holder.code + to_iso_extended_string(holder.date);  // Without using string concatenation methods
    })
    .select([](auto p){
        p.first.code;
        p.first.date
    });

prehonor avatar Mar 30 '24 08:03 prehonor