note 123387 added to mongodb-driver-writeresult.getinsertedcount
| From: | noam@php.net | Date: | Thu, 29 Nov 2018 17:31:41 +0000 |
| Subject: | note 123387 added to mongodb-driver-writeresult.getinsertedcount | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-209811@lists.php.net to get a copy of this message | ||
In case you are trying to add an index to a collection, and the index is already there, the value of
getInsertedCount() depends on the MongoDB server version.
For example, MongoDB version 2.4 consider the index as inserted, but version 3.6 does not.
----
Server IP: 208.43.231.9
Probable Submitter: 2003:cc:cf0c:9901:f8de:26d:d3c3:a2cf
----
Manual Page -- http://php.net/manual/en/mongodb-driver-writeresult.getinsertedcount.php
Edit -- https://master.php.net/note/edit/123387
Del: integrated -- https://master.php.net/note/delete/123387/integrated
Del: useless -- https://master.php.net/note/delete/123387/useless
Del: bad code -- https://master.php.net/note/delete/123387/bad+code
Del: spam -- https://master.php.net/note/delete/123387/spam
Del: non-english -- https://master.php.net/note/delete/123387/non-english
Del: in docs -- https://master.php.net/note/delete/123387/in+docs
Del: other reasons-- https://master.php.net/note/delete/123387
Reject -- https://master.php.net/note/reject/123387
Search -- https://master.php.net/manage/user-notes.php