Skip to content

Commit 82b30c5

Browse files
committed
Improve database.adoc
1 parent 67c70b9 commit 82b30c5

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

src/site/antora/modules/ROOT/pages/manual/appenders/database.adoc

+9-15
Original file line numberDiff line numberDiff line change
@@ -1164,34 +1164,32 @@ It supports the following configuration options:
11641164
| Attribute | Type | Default value | Description
11651165
11661166
| [[MongoDbProvider-attr-connection]]connection
1167-
| https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html[`ConnectionString`]
1167+
| https://www.mongodb.com/docs/manual/reference/connection-string/#standard-connection-string-format[Connection String]
11681168
|
11691169
|
11701170
It specifies the connection URI used to reach the server.
11711171
1172-
See
1173-
https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/connection/connect/#connection-uri[Connection URI documentation]
1174-
for its format.
1175-
11761172
**Required**
11771173
11781174
| [[MongoDbProvider-attr-databaseName]]databaseName
11791175
| `string`
11801176
|
11811177
|
1182-
It specifies the name of the database for the appender to use
1178+
It specifies the name of the database for the appender to use.
11831179
1184-
Overrides the value provided in the connection string if present
1180+
The database name can also be specified in <<MongoDbProvider-attr-connection,the connection URI>>.
1181+
If both are provided, this `databaseName` attribute will be used.
11851182
11861183
**Required**
11871184
11881185
| [[MongoDbProvider-attr-collectionName]]collectionName
11891186
| `string`
11901187
|
11911188
|
1192-
It specifies the name of the collection for the appender to use
1193-
For backward compatibility, the collection name can also be specified in the
1194-
https://mongodb.github.io/mongo-java-driver/5.0/apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html[Java-specific connection string]
1189+
It specifies the name of the collection for the appender to use.
1190+
1191+
For backward compatibility, the collection name can also be specified in <<MongoDbProvider-attr-connection,the connection URI>> per https://mongodb.github.io/mongo-java-driver/5.3/apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html[`ConnectionString` of the MongoDB Java Driver].
1192+
If both are provided, this `collectionName` attribute will be used.
11951193
11961194
**Required**
11971195
@@ -1230,15 +1228,11 @@ It supports the following configuration attributes:
12301228
| Attribute | Type | Default value | Description
12311229
12321230
| [[MongoDb4Provider-attr-connection]]connection
1233-
| https://mongodb.github.io/mongo-java-driver/5.1/apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html[`ConnectionString`]
1231+
| https://mongodb.github.io/mongo-java-driver/5.3/apidocs/mongodb-driver-core/com/mongodb/ConnectionString.html[`ConnectionString`]
12341232
|
12351233
|
12361234
It specifies the connection URI used to reach the server.
12371235
1238-
See
1239-
https://www.mongodb.com/docs/drivers/java/sync/current/fundamentals/connection/connect/#connection-uri[Connection URI documentation]
1240-
for its format.
1241-
12421236
**Required**
12431237
12441238
| [[MongoDb4Provider-attr-capped]]capped

0 commit comments

Comments
 (0)