Details
-
New Feature
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
How to select field.
Exam.
col.Find(nil).Select(bson.M{"name": 1}).One(&result)
I see code at func "Decode" it's get all data in document from mongo before maping with struct in golang.
Thank you.