Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

mongoose create text index

mongoose.set('useCreateIndex', true)
// ...
schema.index({ title: 'text' })
 
PREVIOUS NEXT
Tagged: #mongoose #create #text #index
ADD COMMENT
Topic
Name
8+5 =