We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 939660e + 30e8cc8 commit 8d1aa36Copy full SHA for 8d1aa36
1 file changed
README.md
@@ -134,7 +134,7 @@ Take a look at the example in `examples/schema.js` for an end-to-end example of
134
Once we define a model through `mongoose.model('ModelName', mySchema)`, we can access it through the same function
135
136
```js
137
-const myModel = mongoose.model('ModelName');
+const MyModel = mongoose.model('ModelName');
138
```
139
140
Or just do it all at once
0 commit comments