FsSql
FsSql copied to clipboard
Lenses for mapping
Look into using lenses to build composable mappers.
That would be fantastic!
This one's a very vague idea... I just thought it would be interesting to see what happens if a lens get translates to a SQL SELECT and a set to a direct UPDATE. A lens update would translate to a UPDATE with a function, e.g. update table1 set field = field + 1 I have no idea how a composed lens would translate. It would also lead to a very chatty API.