how to use groupBy with F# linq-to-sql? -


i do

<@ linq.inctxes  |> microsoft.fsharp.linq.query.groupby (fun intx -> intx.rectime, intx.id, intx.str) @> |> microsoft.fsharp.linq.query.query |> seq.map     ^-^ fun sq -> 

but f# linq can't understand / translate type tuple of 3 elements ... can ?

the tuples can't translated sql. can do group in f# , not in "sql" (f# quotation) shown below.

<@ linq.inctxes @> |> microsoft.fsharp.linq.query.query |> seq.groupby (fun intx -> (intx.rectime, intx.id, intx.str)) |> seq.map     ^-^ fun sq -> 

Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -