Skip to content

Commit f4ccee1

Browse files
authored
Merge pull request #10680 from yogabonito/patch-1
DOC: fix typo in models.md
2 parents 8d0a551 + ee6eb8e commit f4ccee1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/models.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const Tank = connection.model('Tank', yourSchema);
7575

7676
### Querying
7777

78-
Finding documents is easy with Mongoose, which supports the [rich](http://www.mongodb.org/display/DOCS/Advanced+Queries) query syntax of MongoDB. Documents can be retreived using each `models` [find](./api.html#model_Model.find), [findById](./api.html#model_Model.findById), [findOne](./api.html#model_Model.findOne), or [where](./api.html#model_Model.where) static methods.
78+
Finding documents is easy with Mongoose, which supports the [rich](http://www.mongodb.org/display/DOCS/Advanced+Queries) query syntax of MongoDB. Documents can be retrieved using a `model`'s [find](./api.html#model_Model.find), [findById](./api.html#model_Model.findById), [findOne](./api.html#model_Model.findOne), or [where](./api.html#model_Model.where) static methods.
7979

8080
```javascript
8181
Tank.find({ size: 'small' }).where('createdDate').gt(oneYearAgo).exec(callback);
@@ -160,4 +160,4 @@ The [API docs](./api.html#model_Model) cover many additional methods available l
160160

161161
### Next Up
162162

163-
Now that we've covered `Models`, let's take a look at [Documents](/docs/documents.html).
163+
Now that we've covered `Models`, let's take a look at [Documents](/docs/documents.html).

0 commit comments

Comments
 (0)