note 95596 added to mongodb.listcollections
| From: | MattSaunders at osu1 dot php dot net | Date: | Mon, 11 Jan 2010 16:11:25 +0000 |
| Subject: | note 95596 added to mongodb.listcollections | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-164859@lists.php.net to get a copy of this message | ||
Currently, the PHP equivalent to "show dbs" is:
$db->command(array("listDatabases" => 1));
According to kristina1 in #mongodb, there will be a proper helper (listDatabases() I presume ) for
this command in a later version.
----
Server IP: 87.124.86.45
Probable Submitter: 95.154.246.127 (proxied: 95.154.246.127)
----
Manual Page -- http://www.php.net/manual/en/mongodb.listcollections.php
Edit -- https://master.php.net/note/edit/95596
Del: integrated -- https://master.php.net/note/delete/95596/integrated
Del: useless -- https://master.php.net/note/delete/95596/useless
Del: bad code -- https://master.php.net/note/delete/95596/bad+code
Del: spam -- https://master.php.net/note/delete/95596/spam
Del: non-english -- https://master.php.net/note/delete/95596/non-english
Del: in docs -- https://master.php.net/note/delete/95596/in+docs
Del: other reasons-- https://master.php.net/note/delete/95596
Reject -- https://master.php.net/note/reject/95596
Search -- https://master.php.net/manage/user-notes.php