Re:A survey of the current state of Golang ORMs
by Arkan on Sunday October 05, 2014 @07:02AM
(#8411977)
As far as I know no ORM support arrays natively.
I have a few projects made around sqlx, and I had to support arrays. So I ended up doing the support myself.
[ Parent
| on HN ]
Re:A survey of the current state of Golang ORMs
by hanief on Sunday October 05, 2014 @07:17AM
(#8412002)
I see. Do you have it open sourced somewhere? Or do you have some references on this subject for me to explore? thanks.
Re:A survey of the current state of Golang ORMs
by Arkan on Sunday October 05, 2014 @07:59AM
(#8412066)
I started with this Gist. https://gist.github.com/adharris/4163702
But ended up with a custom type implementing Scan & Value.
Check this out: https://groups.google.com/forum/#!topic/golang-nuts/aPJVwRQq...
Good luck :-)