...

Text file src/go.mongodb.org/mongo-driver/testdata/connection-string/valid-options.json

Documentation: go.mongodb.org/mongo-driver/testdata/connection-string

     1{
     2  "tests": [
     3    {
     4      "description": "Option names are normalized to lowercase",
     5      "uri": "mongodb://alice:secret@example.com/admin?AUTHMechanism=MONGODB-CR",
     6      "valid": true,
     7      "warning": false,
     8      "hosts": [
     9        {
    10          "type": "hostname",
    11          "host": "example.com",
    12          "port": null
    13        }
    14      ],
    15      "auth": {
    16        "username": "alice",
    17        "password": "secret",
    18        "db": "admin"
    19      },
    20      "options": {
    21        "authmechanism": "MONGODB-CR"
    22      }
    23    }
    24  ]
    25}

View as plain text