Doc #74447 [NEW]: MongoClient deprecated vs Mongo Driver

From: Date: Sat, 15 Apr 2017 05:52:42 +0000
Subject: Doc #74447 [NEW]: MongoClient deprecated vs Mongo Driver
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14628@lists.php.net to get a copy of this message
From: alexdragian at gmail dot com Operating system: Ubuntu 16 PHP version: 7.1.4 Package: mongo Bug Type: Documentation Problem Bug description:MongoClient deprecated vs Mongo Driver Description: ------------ The new mongo driver for lack of a better way to put it sucks! It was obviously written by someone who doesn't even understand how to use mongo. That and the documentation on it is nil. The old driver has better docs (all over google mind you) then the new one. If you are going to take a driver out of a version of support you better damn well have the docs to support that; which you don't. I tried for hours to figure out how to run a command getCollectionNames and kept getting no such command. After I decided to just use collinfo a hack at best in a try catch. I found there is no FindOne implementation because your shit driver can't convert mongo data to a reasonable format. Good job, now I recall why I stopped being a PHP fan boy, and I would rather support this project on PHP5! Good job taking the worst parts of PHP and making them the only way to use the damn thing. Thanks for the huge time suck and and btw I hope PHP dies a cold ruthless death. Test script: --------------- echo "Go F your self"; Expected result: ---------------- Some one getting screwed. Actual result: -------------- Death of PHP.... plz -- Edit bug report at https://bugs.php.net/bug.php?id=74447&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=74447&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=74447&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=74447&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=74447&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=74447&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=74447&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=74447&r=needscript Try newer version: https://bugs.php.net/fix.php?id=74447&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=74447&r=support Expected behavior: https://bugs.php.net/fix.php?id=74447&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=74447&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=74447&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=74447&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74447&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=74447&r=dst IIS Stability: https://bugs.php.net/fix.php?id=74447&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=74447&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=74447&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=74447&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=74447&r=mysqlcfg

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