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

Split options.OptProjection into OptFields and OptProjection

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.9
    • 0.0.2
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: