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
the problem is: I always get a string type inferred for the op_log column and so it cannot be scanned into the struct. What is the correct way to do this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I am using the db/sql driver and trying to deserialize some part of a json column into a custom struct.
My query is something like this :
I am trying to deserialize the results in to an array of :
the problem is: I always get a string type inferred for the
op_log
column and so it cannot be scanned into the struct. What is the correct way to do this?Any suggestions would be appreciated!
Beta Was this translation helpful? Give feedback.
All reactions