| Which of the following arangosh command completely replaces the old document with a new document?
Choose the correct option from below list
(1)db.songs.replace("< collection_name>/<_key>",< updated_document>});
(2)db.songs.update("< collection_name>/<_key>",< updated_document>});
Answer:-(1)db.songs.replace("< collection_name>/<_key>",< updated_document>}); | | |