These are chat archives for jinzhu/gorm
The fantastic ORM library for Golang, aims to be developer friendly, check http://gorm.io/community.html#Ask before ask
Post, with a few properties in there (Title, Content) but also
LikeCount, is it possible to
AddSelect("(SELECT COUNT(...) FROM ...) as LikeCount")somehow ?
Select, but I want to retrieve all the fields, only with the count added.