NodeJS and mongoDB – mongoose
I’m trying manipulate a JSON that wasn’t created by me, only uploaded to mongo. In NodeJs I’m trying:
app.get(‘/municipios’, async (req, res) => {
let cidadeSchema = new Schema({}, { strict: false })
let cidades = mongoose.model(‘mu…