Gives to user a db instead of a mongo object.