R
Railway17mo ago
tryoff

json question

its my first time using json and i want to ask how to add dist under dist. example: { "name": "Joe", "username": "jooj", } i want to add another one under it but with different data like this { "name": "Joe", "username": "jooj", }, { "name": "lol", "username": "wsp", } but by mongoDB python
Solution:
Unfortunately these help threads are not for programming help, they are for help with Railway specifically. I’m sure there are many, many resources online to help you solve your issue
Jump to solution
7 Replies
Percy
Percy17mo ago
Project ID: be8add26-2d3a-4f3f-a011-358c3b4d3294
Brody
Brody17mo ago
[
{
"name": "Joe",
"username": "jooj"
},
{
"name": "lol",
"username": "wsp"
}
]
[
{
"name": "Joe",
"username": "jooj"
},
{
"name": "lol",
"username": "wsp"
}
]
put the objects in an array
tryoff
tryoffOP17mo ago
i tried but its not working when i use find_one() it return None
Brody
Brody17mo ago
i think you should familiarize yourself with mongodb first
tryoff
tryoffOP17mo ago
already did and i did everything fine such as adding new data/deleting/pushing but as a new documents
Brody
Brody17mo ago
im sorry but these threads are for help with railway, not mongo
Solution
Adam
Adam17mo ago
Unfortunately these help threads are not for programming help, they are for help with Railway specifically. I’m sure there are many, many resources online to help you solve your issue
Want results from more Discord servers?
Add your server