note 113395 added to mongocollection.getindexinfo
| From: | nanhe dot kumar at gmail dot com | Date: | Sat, 05 Oct 2013 22:51:05 +0000 |
| Subject: | note 113395 added to mongocollection.getindexinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-196475@lists.php.net to get a copy of this message | ||
<?php
/*
For example, to view all indexes on the people collection from country databse :
InmongoDb
use country
db.people.getIndexes()
Inphp
*/
$m = new MongoClient();
$indexes = $m->country->people->getIndexInfo();
?>
----
Server IP: 69.147.83.199
Probable Submitter: 14.98.48.255
----
Manual Page -- http://php.net/manual/en/mongocollection.getindexinfo.php
Edit -- https://master.php.net/note/edit/113395
Del: integrated -- https://master.php.net/note/delete/113395/integrated
Del: useless -- https://master.php.net/note/delete/113395/useless
Del: bad code -- https://master.php.net/note/delete/113395/bad+code
Del: spam -- https://master.php.net/note/delete/113395/spam
Del: non-english -- https://master.php.net/note/delete/113395/non-english
Del: in docs -- https://master.php.net/note/delete/113395/in+docs
Del: other reasons-- https://master.php.net/note/delete/113395
Reject -- https://master.php.net/note/reject/113395
Search -- https://master.php.net/manage/user-notes.php