I am currently working on a project using PHP
, I have done research and found that microtime()
helps with tracking the time of a query in a MySQL
database..
how do I do the same for MongoDB
, I have a PHP
interface and I have also inserted data into the MongoDB
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 ????