Published: 21 Dec 2017 › Updated: 21 Dec 2017
Adding documents in mlab
If you're using mlab to access a MongoDB instance and if you're having trouble creating a document in a collection, there might be one of these 2 issues
- You cannot use the MongoDB syntax to create a document director inside their Add Document editor. So you cannot do db.collection.insert().
Instead you just enter the collection in JSON format.
- Make sure you wrap both the field name and value in double quotes.
The following is an example of what worked:
Leave Adding documents in mlab to:
Read more #mongodb posts
Best Posts From Steeeman
We have not curated any of sharatdotinfo's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Steeeman
- My Actifit Report Card: July 23 2023
- My Actifit Report Card: July 22 2023
- My Actifit Report Card: July 19 2023
- My Actifit Report Card: July 17 2023
- My Actifit Report Card: July 14 2023
- My Actifit Report Card: July 9 2023
- My Actifit Report Card: July 6 2023
- My Actifit Report Card: July 5 2023
- My Actifit Report Card: July 3 2023
- My Actifit Report Card: July 2 2023