XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Kristofer Brandow (Inactive)
            Reporter:
            bakatest
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: