Doc #74447 [Opn->Spm]: MongoClient deprecated vs Mongo Driver

From: Date: Sat, 15 Apr 2017 06:15:23 +0000
Subject: Doc #74447 [Opn->Spm]: MongoClient deprecated vs Mongo Driver
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14629@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74447&edit=1 ID: 74447 Updated by: requinix@php.net Reported by: alexdragian at gmail dot com Summary: MongoClient deprecated vs Mongo Driver -Status: Open +Status: Spam Type: Documentation Problem Package: mongo Operating System: Ubuntu 16 PHP Version: 7.1.4 Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2017-04-15 05:52:36] alexdragian at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=74447&edit=1

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