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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 0.0.1
    • Affects Version/s: None
    • Component/s: 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@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: