Last active
June 15, 2023 19:43
-
-
Save xola139/51f8d31ade072b401c72b3874f8666a5 to your computer and use it in GitHub Desktop.
update attribut lastUpdate in null
This file contains hidden or 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.getCollection("images").update( | |
{edad:{$gte:15}}, | |
{$set: {lastUpdate: null}}, | |
{ | |
multi: true, | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment