You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there
I wonder if storm can support fetch certain fields only like gorm do:
typeUserstruct {
IDuintNamestringAgeintGenderstring// hundreds of fields
}
typeAPIUserstruct {
IDuintNamestring
}
// Select `id`, `name` automatically when queryingdb.Model(&User{}).Limit(10).Find(&APIUser{})
// SELECT `id`, `name` FROM `users` LIMIT 10
I've seen you had answered at #216 that this will be able to do with the v3, but I've not found any documents or samples about that.
Could you please help on this?
Thanks a lot!
The text was updated successfully, but these errors were encountered:
Hey there
I wonder if storm can support fetch certain fields only like gorm do:
I've seen you had answered at #216 that this will be able to do with the v3, but I've not found any documents or samples about that.
Could you please help on this?
Thanks a lot!
The text was updated successfully, but these errors were encountered: