add "db" option

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315791 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kristina Chodorow 2011-08-30 15:52:29 +00:00
parent e15ee52c4d
commit 6678b14207

View file

@ -111,6 +111,7 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db
<para>
The username can be specified here, instead of including it in the
host list. This is especially useful if a username has a ":" in it.
This overrides a username set in the host list.
</para>
</listitem>
<listitem>
@ -120,6 +121,17 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db
<para>
The password can be specified here, instead of including it in the
host list. This is especially useful if a password has a "@" in it.
This overrides a password set in the host list.
</para>
</listitem>
<listitem>
<para>
<literal>"db"</literal>
</para>
<para>
The database to authenticate against can be specified here, instead of
including it in the host list. This overrides a database given in the
host list.
</para>
</listitem>
</itemizedlist>