I am currently working on a project using phpPHP
, I have done research and found that microtime()microtime()
helps with tracking the time of a query in a MySQLMySQL
database..
how do I do the same for MongoDBMongoDB
, I have a PHPPHP
interface and I have also inserted data into the mongodbMongoDB
database using this but how do I show how long the time of the query took to insert into the database.
PHP uses microtime() MongoDB uses ????