Closed anhntbk08 closed 6 years ago
Yeah you need to instrument that in your own app. The bigger your app gets the less likely you'd wan't to run an auto indexer when the app started.
hapi-mongo-models
actually does have an option that takes advantage of the createIndexes
method.
Hi,
Thank for your great work. I just wonder what is the best way to use createIndexes?
Can it be totally automatic when we defined model?
Cheers.