Co wrapper for the mongodb driver