Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Added upsert: true to docs of mongodb and mongoose #609

Merged
merged 2 commits into from
May 13, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion api/databases/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ __Options:__

### params.mongodb

When making a [service method](./services.md) call, `params` can contain an `mongodb` property which allows to modify the options used to run the MongoDB query.
When making a [service method](./services.md) call, `params` can contain an `mongodb` property (for exmaple, `{upsert: true}`) which allows to modify the options used to run the MongoDB query.


## Example
Expand Down
2 changes: 1 addition & 1 deletion api/databases/mongoose.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ __Options:__

### params.mongoose

When making a [service method](../services.md) call, `params` can contain an `mongoose` property which allows to modify the options used to run the Mongoose query. Normally this wil be set in a before [hook](../hooks.md):
When making a [service method](../services.md) call, `params` can contain an `mongoose` property (for exmaple, `{upsert: true}`) which allows to modify the options used to run the Mongoose query. Normally this wil be set in a before [hook](../hooks.md):

```js
app.service('messages').hooks({
Expand Down