Last active
March 25, 2019 10:41
-
-
Save PoplarYang/796822f090b60cc3e52e3d1093786679 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.collection.update( | |
<query>, | |
<update>, | |
{ | |
upsert: <boolean>, | |
multi: <boolean>, | |
writeConcern: <document>, | |
collation: <document>, | |
arrayFilters: [ <filterdocument1>, ... ] | |
} | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
db.collection.remove( | |
<query>, | |
<justOne> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment