From 694ac6b0914af7ab4232ca4018664d0ba899dafe Mon Sep 17 00:00:00 2001 From: Kristina Chodorow Date: Wed, 3 Feb 2010 23:13:57 +0000 Subject: [PATCH] added listdbs git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@294483 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongo/listdbs.xml | 53 +++++++++++++++++++++++++++++++ reference/mongo/versions.xml | 1 + 2 files changed, 54 insertions(+) create mode 100644 reference/mongo/mongo/listdbs.xml diff --git a/reference/mongo/mongo/listdbs.xml b/reference/mongo/mongo/listdbs.xml new file mode 100644 index 0000000000..607a612bfb --- /dev/null +++ b/reference/mongo/mongo/listdbs.xml @@ -0,0 +1,53 @@ + + + + + + Mongo::listDBs + Lists all of the databases available. + + + + &reftitle.description; + + public arrayMongo::listDBs + + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + Returns an associative array containing three fields. The first field is + databases, which in turn contains an array. Each element + of the array is an associative array corresponding to a database, giving the + database's name, size, and if it's empty. The other two fields are + totalSize (in bytes) and ok, which is 1 + if this method ran successfully. + + + + diff --git a/reference/mongo/versions.xml b/reference/mongo/versions.xml index 0a217392e0..f885a28f43 100644 --- a/reference/mongo/versions.xml +++ b/reference/mongo/versions.xml @@ -20,6 +20,7 @@ +