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 @@ +