MongoDB – Getting the latest item

Lately I have had the pleasure of working with a mongoDB. It´s a nice database with a relatively easy to learn syntax. You can see why it is one of the top favourite kids on the block. However, that doesn’t mean it won´t be a pain in the ass to get data out of mongoDB...