Comments (3)
Why? You can define the indexes you need in your Model (see doc on http://github.com/LearnBoost/mongoose/tree/master )
from mongoose.
True, but mongodb-native now implements ensureIndex, which is a better API than createIndex
from mongoose.
implemented ensureIndex instead of relying on createIndex (closed by 053825c)
from mongoose.
Related Issues (20)
- $switch in $expr in filter query failed: Cannot read properties of undefined (reading 'map') HOT 2
- bulkWrite operations on any sharded collection are completely broken in 8.4.1+
- Mongoose is creating ghost/empty collections for every database under a project where multiple schemas are used HOT 5
- populate not working without lean() HOT 4
- Manually populated documents get saved as strings instead of `ObjectId`s in combination with SchemaType getter
- bulkSave doesn't throw an error even if one of the submitted documents was not updated HOT 5
- Can we include dataloader for .populate method in mongoose, so that this will be efficent while quering HOT 2
- incorrect for loop in cast HOT 4
- mongoose.model.ModelName disrupts types HOT 4
- Mongoose v6.12.6 installing optional dependencies @aws-sdk packages via mongodb 4.17.2 HOT 6
- update from version 6.11.6 to 7.4.0 there is a problem with the query HOT 2
- Virtuals not serialized after v8.5 HOT 3
- Cursor.next can return null, but TypeScript says it can't
- `this` context in nested schema `required` functions changed since mongoose 7.0.2+ HOT 2
- mongoose.connection.db can be undefined, but TypeScript says it can't
- Connection Error and not getting any data - DEP0170 HOT 2
- Intersection type error in embedded schema when iterating through an embedded array HOT 3
- Populate + lean + multiple populated documents leads to "Cannot read properties of undefined (reading '_id')" in version 8.5.2 HOT 1
- After replica election, mongoose can't connect to mongo db and throw timeout error each 30s HOT 2
- Issue deleted
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 mongoose.