[GODRIVER-189] Upgrade options package to use bson.Document Created: 11/Jan/18  Updated: 05/Feb/18  Resolved: 05/Feb/18

Status: Closed
Project: Go Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.0.1

Type: New Feature Priority: Major - P3
Reporter: Kristofer Brandow (Inactive) Assignee: Kristofer Brandow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: GODRIVER Core Specs

 Description   

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.



 Comments   
Comment by Kristofer Brandow (Inactive) [ 05/Feb/18 ]

Code Review: https://review.gerrithub.io/c/395179/

Comment by Githook User [ 05/Feb/18 ]

Author:

{'email': 'kris@mongodb.com', 'name': 'Kris Brandow', 'username': 'skriptble'}

Message: Migrate to new BSON library

GODRIVER-136
GODRIVER-189

Change-Id: I41eb0b1f6df3d9cd020a73b9ee9c24317bf73e41
Branch: master
https://github.com/10gen/mongo-go-driver/commit/a5c12e86343b2e80cd3dd11acfa65bd99fb0eaa5

Generated at Thu Feb 08 08:33:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.