Índice de cadena de mangosto
const schema = new Schema({
title: {
type: String,
required: true,
unique: true,
index: 'text'
}
})
florinrelea
const schema = new Schema({
title: {
type: String,
required: true,
unique: true,
index: 'text'
}
})