FsSql icon indicating copy to clipboard operation
FsSql copied to clipboard

Lenses for mapping

Open mausch opened this issue 14 years ago • 2 comments

Look into using lenses to build composable mappers.

mausch avatar Apr 21 '11 18:04 mausch

That would be fantastic!

panesofglass avatar Jan 06 '12 18:01 panesofglass

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.

mausch avatar Jan 06 '12 21:01 mausch