Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-335

Split options.OptProjection into OptFields and OptProjection

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.9
    • Affects Version/s: 0.0.2
    • None

      The options.OptProject type is awkward to use because it has to satisfy both find and findAndModify which use two different key names for the same concept, findAndModify using fields and find using projection. Update the options package to have an OptProjection and an OptFields so we do not require this awkward logic to switch between them.

            Assignee:
            roland.fong Roland Fong
            Reporter:
            kris.brandow@mongodb.com Kristofer Brandow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: