Skip to content

Commit ab51419

Browse files
author
Joe Bennett
committed
#27345 improved wording on mongo connections string options
1 parent caab35c commit ab51419

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/lock.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,10 +329,10 @@ When the first parameter is a:
329329
- ``$options['database']`` is mandatory
330330
- ``$options['collection']`` is mandatory
331331

332-
`MongoDB Connection String`_:
332+
MongoDB Connection String:
333333

334-
- ``$options['database']`` is used otherwise ``/path``, at least one is mandatory
335-
- ``$options['collection']`` is used otherwise ``?collection=``, at least one is mandatory
334+
- ``$options['database']`` is used otherwise ``/path`` from the DSN, at least one is mandatory
335+
- ``$options['collection']`` is used otherwise ``?collection=`` from the DSN, at least one is mandatory
336336

337337
.. note::
338338

0 commit comments

Comments
 (0)