Comments (1)
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.
from mongo-models.
Related Issues (20)
- Support for other WriteResult parameters HOT 1
- Add mongodb to dependencies HOT 1
- Promise support HOT 2
- Native Async/Await Support HOT 2
- Mongo Lookup Support HOT 1
- Migrate callbacks patterns to async/await
- Problem with babel HOT 5
- MongoClient.connect function incompatible with Node MongoDB 3.6 driver HOT 2
- MongoModels#aggregate does not pass test case HOT 3
- v2.x.x Release Notes
- *byId methods don't work with custom IDs HOT 1
- How to declare a view with mongo-models HOT 1
- Using dynamic schema HOT 4
- [Question] Hoek dependency HOT 2
- [Question] Models schema validation breaks partial fields loading HOT 1
- Question: why I have to pass db though db is already included in the uri? HOT 1
- Proposal: Add an option that allows one to not validate mongo query results HOT 14
- Compatibility with @hapi/joi 17 HOT 4
- Would you consider an alternative? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mongo-models.