With MongoDB I can do the following:
db.collection.find({}, {"select_just_this_field": 1})
But how I can do the same with MongoDB + BSON (GoLang) - Something like:
bson.M{{}, {"select_just_this_field": 1}}
With MongoDB I can do the following:
db.collection.find({}, {"select_just_this_field": 1})
But how I can do the same with MongoDB + BSON (GoLang) - Something like:
bson.M{{}, {"select_just_this_field": 1}}