We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4310cc commit efd68a1Copy full SHA for efd68a1
x/mongo/driver/integration/opmsg_deployment.go
@@ -205,6 +205,7 @@ func (md *MockDeployment) ClearResponses() {
205
}
206
207
// NewMockDeployment returns a mock driver.Deployment that responds with OP_MSG wire messages.
208
+// However, for most use cases, we suggest testing with an actual database.
209
func NewMockDeployment(responses ...bson.D) *MockDeployment {
210
return &MockDeployment{
211
conn: &connection{
0 commit comments