Consolidate Foo + FooContext methods to just Foo that takes a context object

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 0.0.1
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Per feedback from Eliot, we will eliminate the "FooContext" style methods (e.g. "InsertOneContext") and just have the standard CRUD names that all take a leading context object (which can be nil for us to default to context.Background).

      result, err := coll.InsertOne(ctx, doc)
      

            Assignee:
            David Golden
            Reporter:
            David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: