You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To fix this I think we should scrap runUpdateConst and replace emptyUpdate with another TH-generated function IdUpdate :: To Column R -> To Maybe (To Column R) which could be used like this:
runUpdate table (\r -> (f r) { name = Just $ constant x }) condition
This will make sure that all code that uses it has to get updated.
The text was updated successfully, but these errors were encountered:
What would runUpdate do? Would it set all columns explicitly to their old values? I think that might be tricky, since they might have been updated, like I mentioned in the opaleye issue.
To fix this I think we should scrap
runUpdateConst
and replaceemptyUpdate
with another TH-generated functionIdUpdate :: To Column R -> To Maybe (To Column R)
which could be used like this:This will make sure that all code that uses it has to get updated.
The text was updated successfully, but these errors were encountered: