Skip to content

Commit 05a9b5c

Browse files
author
Joe Bennett
committed
#27345 improved wording on mongo connections string options
1 parent b364081 commit 05a9b5c

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
@@ -318,10 +318,10 @@ When the first parameter is a:
318318
- ``$options['database']`` is mandatory
319319
- ``$options['collection']`` is mandatory
320320

321-
`MongoDB Connection String`_:
321+
MongoDB Connection String:
322322

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

326326
.. note::
327327

0 commit comments

Comments
 (0)