DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
mongo delete a key in matching documents
db.collection_name.update({ _id: 1234 }, { $unset : { description : 1} })
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#mongo
#delete
#key
#matching
#documents
ADD COMMENT
Topic
COMMENT
Name
2+6 =
Submit