db
db copied to clipboard
Custom Scan(), Value() ignored on InsertReturning()
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.
any updates? i've switched to using Insert but idk