database bridge for mongo