R
Railway2y ago
eddie

mongodb collection missing

ihave a few collection in my database that i am not seeing but i can query in script, is there a bug in the mongodb viewer? /448a8382-6e3f-42d6-a3cd-a9a8c5493c1d there are supposed to be a few collections, including character, items, etc
20 Replies
Percy
Percy2y ago
Project ID: 448a8382-6e3f-42d6-a3cd-a9a8c5493c1d
Brody
Brody2y ago
yeah the database view in railway isnt the best, please dont rely on it
eddie
eddieOP2y ago
o really? damn its been really helpfult o use is there a better one u prefer?
Brody
Brody2y ago
i use dbgate myself, i dont use mongodb though, but it does support mongodb too
eddie
eddieOP2y ago
i am using mongodb compass and it is only showing me one collection too
eddie
eddieOP2y ago
eddie
eddieOP2y ago
and inside has zero documents, weird but i can query in code
Brody
Brody2y ago
perhaps the data is in a different database?
eddie
eddieOP2y ago
ive only been using one database "test"
Brody
Brody2y ago
cant hurt to check?
eddie
eddieOP2y ago
Brody
Brody2y ago
fair are you connected to an entirely different database all together?
eddie
eddieOP2y ago
hmm i dont think so i havent changed anything within the last hour and suddenly showing differernt half hour ago
Brody
Brody2y ago
well theres not much i can help with here im afraid, you will have to do some investigation
eddie
eddieOP2y ago
even when i do the backup via mongodumb it dumps fully everything
Brody
Brody2y ago
I'm sorry i dont know what to tell you
eddie
eddieOP2y ago
if i do this will i lose my data?
Brody
Brody2y ago
nope
eddie
eddieOP2y ago
damn restarted and still no go, not sure what is up thanks anyhow for your help
eddie
eddieOP2y ago
i found out the issue, turns out i was in "develop" mode, not production, i didnt know they had two different databases
Want results from more Discord servers?
Add your server