groupby multiple columns in a F# 3.0 query

前端 未结 8 841
梦如初夏
梦如初夏 2020-12-14 00:02

Just trying out F# 3.0 and hit a bit of a wall when it comes to grouping by multiple columns. The obvious thing to try was

query {
    for d in context.table         


        
8条回答
  •  一向
    一向 (楼主)
    2020-12-14 00:50

    When using groupBy you need to select an aggregating function (e.g. count, sum, avg...).

提交回复
热议问题