db icon indicating copy to clipboard operation
db copied to clipboard

Custom Scan(), Value() ignored on InsertReturning()

Open mcandre opened this issue 6 years ago • 1 comments

Some collection methods appear to ignore custom database serializers and deserializers. I added log.Printf("BART!\n") at the top of my Scan() and Value() implementations, and made sure that my Scan() was implemented over pointers to my Course Go type. But no such log message is displayed when I run InsertReturning(&course) on a course collection.

Are you sure that all the Collection methods run these (de)serializers.

mcandre avatar Jun 24 '19 18:06 mcandre

any updates? i've switched to using Insert but idk

fr3fou avatar Feb 05 '20 22:02 fr3fou