R
Railway15mo 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
Percy15mo ago
Project ID: 448a8382-6e3f-42d6-a3cd-a9a8c5493c1d
Brody
Brody15mo ago
yeah the database view in railway isnt the best, please dont rely on it
eddie
eddie15mo ago
o really? damn its been really helpfult o use is there a better one u prefer?
Brody
Brody15mo ago
i use dbgate myself, i dont use mongodb though, but it does support mongodb too
eddie
eddie15mo ago
i am using mongodb compass and it is only showing me one collection too
eddie
eddie15mo ago
eddie
eddie15mo ago
and inside has zero documents, weird but i can query in code
Brody
Brody15mo ago
perhaps the data is in a different database?
eddie
eddie15mo ago
ive only been using one database "test"
Brody
Brody15mo ago
cant hurt to check?
eddie
eddie15mo ago
Brody
Brody15mo ago
fair are you connected to an entirely different database all together?
eddie
eddie15mo ago
hmm i dont think so i havent changed anything within the last hour and suddenly showing differernt half hour ago
Brody
Brody15mo ago
well theres not much i can help with here im afraid, you will have to do some investigation
eddie
eddie15mo ago
even when i do the backup via mongodumb it dumps fully everything
Brody
Brody15mo ago
I'm sorry i dont know what to tell you
eddie
eddie15mo ago
if i do this will i lose my data?
Brody
Brody15mo ago
nope
eddie
eddie15mo ago
damn restarted and still no go, not sure what is up thanks anyhow for your help
eddie
eddie15mo ago
i found out the issue, turns out i was in "develop" mode, not production, i didnt know they had two different databases