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
I guess everybody who wants to log his or her queries/commands is doing the same,
logUpdate∷foralltsrm.
TableToColsWithoutAliasstr=>GetColsr=>MonadEffectm=>Tablet→ ({ | r } →ColsBoolean) → ({ | r } → { | r }) →mUnit
logUpdate table pred up = dolet
{ strQuery, params } = showPG $ showUpdate table pred up
log strQuery
log $ unsafeStringify params
log ""logQuery::forallsim. GetColsi=>MonadEffectm=>FullQuerys { | i } ->mUnit
logQuery q = dolet
{ strQuery, params } = showPG $ showQuery q
log strQuery
log $ unsafeStringify params
log ""
...
I don't know how to do it, but it would be nice to have some sort of tee or errorTee function, which lets me express the statement "I would like to see the generated output".
The text was updated successfully, but these errors were encountered:
I guess everybody who wants to log his or her queries/commands is doing the same,
I don't know how to do it, but it would be nice to have some sort of
tee
orerrorTee
function, which lets me express the statement "I would like to see the generated output".The text was updated successfully, but these errors were encountered: