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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 0.0.1
    • None
    • None
    • None

    Description

      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)
      

      Attachments

        Activity

          People

            david.golden@mongodb.com David Golden
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: