Upgrade options package to use bson.Document

XMLWordPrintableJSON

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

      Add the following interfaces:

      type Optioner interface {
        Option(*bson.Document)
      }
      

      Create specific Optioner types for Aggregate, Count, Delete, Distinct, Find, Insert, and Update.

      For instance:

      type AggregateOptioner interface {
        Optioner
        aggregateOption()
      }
      

      Reimplement the types in the option package to use this updated style and update the mongo package to use these as well.

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

                Created:
                Updated:
                Resolved: