When scanning result of select query with joins, some rows may contain
duplicated data.
Here is a simple example to illustrate the problem:
http://play.golang.org/p/ca0MiPU_dO
To make partial scan (to scan only some columns), the example uses a dummy
variable (lines 49, 51, 65).
Could it be possible to make the Scan method accept "nil" value to say "I
don't want to retrieve this value" ?
Or do you have any other solution to avoid using "dummy" variables just to
make Scan method work ?
Thanks.
--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.