Doc #69567 [Opn->Csd]: Incomplete return value documentation for MongoCollection::update

From: Date: Tue, 03 Aug 2021 11:39:45 +0000
Subject: Doc #69567 [Opn->Csd]: Incomplete return value documentation for MongoCollection::update
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-19019@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=69567&edit=1 ID: 69567 Updated by: cmb@php.net Reported by: michael dot j dot blaszczyk at gmail dot com Summary: Incomplete return value documentation for MongoCollection::update -Status: Open +Status: Closed Type: Documentation Problem Package: mongo PHP Version: Irrelevant -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: The documentation of the mongo package has been removed from the manual, because the mongo package is superseeded by the mongodb package for years. This ticket is obsolete. Previous Comments: ------------------------------------------------------------------------ [2015-05-04 04:04:32] michael dot j dot blaszczyk at gmail dot com Description: ------------ --- From manual page: http://php.net/manual/en/mongocollection.update.php --- MongoCollection::update returns an "nModified" property in the status array, however, this is not documented. This property is not returned from MongoCollection::insert and so referring the user to the status array documentation in MongoCollection::insert results in incomplete documentation. Expected result: ---------------- The documentation of the return value for MongoCollection::update includes the "nModified" property. Actual result: -------------- The documentation of the return value for MongoCollection::update does not include the "nModified" property. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=69567&edit=1

« previous php.doc.bugs (#19019) next »