From 6678b1420739de0205b1e69b0c7e03fef6b43611 Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Tue, 30 Aug 2011 15:52:29 +0000 Subject: [PATCH] add "db" option git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315791 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongo/construct.xml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/reference/mongo/mongo/construct.xml b/reference/mongo/mongo/construct.xml index 5a2b3340b3..b95c7443a6 100644 --- a/reference/mongo/mongo/construct.xml +++ b/reference/mongo/mongo/construct.xml @@ -111,6 +111,7 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db 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. @@ -120,6 +121,17 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db 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. + + + + + "db" + + + 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.