query for MongoDB via direct entry #74260
Unanswered
heidebloem
asked this question in
Help
Replies: 1 comment
-
If your question is about inserting documents into a collection via the Atlas UI have a look at https://www.mongodb.com/docs/atlas/tutorial/insert-data-into-your-cluster/ (select "Atlas UI" from the language dropdown). Is this what you're looking for? You can edit documents directly from the "Query Results" in the Collections tab via the UI as well. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I am working on my first Next.js project with MongoDB. For testing purposes it is very handy if one can manipulate the database directly through the query box on https://cloud.mongodb.com on their Collections page. Can anyone give an example query for entering a character string directly via this query box? This is what I entered myself, but it leads to an error:
{
"filter": { "Src": "" },
" updateOne": { "$set": { "Src": "asdf" } }
}
The same problem when I try it with a find query. What would be the correct query to enter?
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions