Skip to content

Commit

Permalink
add a new api save_multiple
Browse files Browse the repository at this point in the history
  • Loading branch information
cymoo committed May 20, 2020
1 parent f4492ca commit 80725eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ user.save(full_update=True)

```

* `save_multiple(models, **kw)`

Works like `save` but applies to multiple models in a bulk write; currently supports bulks of insertOne and updateOne.

* `delete(**kw)`

Delete the data from MongoDB.
Expand Down

0 comments on commit 80725eb

Please sign in to comment.