I would like change the following php mysql statement to a MongoDb statement or even mongoose
for ($x = 0;