note 119668 added to mongocollection.find
| From: | vsaurabh dot aec at gmail dot com | Date: | Sat, 30 Jul 2016 09:22:34 +0000 |
| Subject: | note 119668 added to mongocollection.find | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-206130@lists.php.net to get a copy of this message | ||
example of sort and find
$client = new MongoDB\Client("mongodb://localhost:27017");
$product = $client->db->product;
$filter = [];
$options = ['sort' => ['catid' => 1], 'limit' => 10];
$list = $product->find($filter, $options);
----
Server IP: 72.52.91.14
Probable Submitter: 115.118.31.108
----
Manual Page -- http://php.net/manual/en/mongocollection.find.php
Edit -- https://master.php.net/note/edit/119668
Del: integrated -- https://master.php.net/note/delete/119668/integrated
Del: useless -- https://master.php.net/note/delete/119668/useless
Del: bad code -- https://master.php.net/note/delete/119668/bad+code
Del: spam -- https://master.php.net/note/delete/119668/spam
Del: non-english -- https://master.php.net/note/delete/119668/non-english
Del: in docs -- https://master.php.net/note/delete/119668/in+docs
Del: other reasons-- https://master.php.net/note/delete/119668
Reject -- https://master.php.net/note/reject/119668
Search -- https://master.php.net/manage/user-notes.php