The PHP driver is not supporting all functions/parameters provided by
the mongo shell, e.g.:
Optional Parameter:
MongoDB::setProfilingLevel(int $level)
http://www.php.net/manual/en/mongodb.setprofilinglevel.php
Shell: db.setProfilingLevel(level, <slowms>)
Missing Function(s):
db.stats()
db.serverStats()
db.collection.findAndModify( { update : ... , remove : bool [, query:
{}, sort: {}, 'new': false] } )
db.collection.renameCollection( newName, <dropTarget> )
db.collection.stats()
Some of them are composites but it would be nice to have them
implemented as object method. Are there any plans on implementing/
extending these methods in the driver in near future?
While writing a small UI for Mongo it was becoming quite hard to
handle authentication as there is no direct way of determining if the
database requires authentication. It would help to have a
MongoDB::requiresAuthentication() method with which one can tell if
the database requires auth.
./halfdan