db icon indicating copy to clipboard operation
db copied to clipboard

"fetchRow" resets data even if columns are not to be touched. Why?

Open martinrode opened this issue 6 years ago • 0 comments

I just discovered a major problem with Upper.io. When fetching data (fetchRow in fetch.go), the data is being reset before data is loaded. For structs every field in the struct is set to its Zero value.

This includes unexported as well as db:"-" marked fields.

Why are you doing this?

martinrode avatar Feb 24 '19 09:02 martinrode