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![](https://utfs.io/f/cb60cc57-b46c-42c3-9417-c02d50c57898-1nq2cb.png)
20 Replies
Project ID:
448a8382-6e3f-42d6-a3cd-a9a8c5493c1d
yeah the database view in railway isnt the best, please dont rely on it
o really? damn its been really helpfult o use
is there a better one u prefer?
i use dbgate myself, i dont use mongodb though, but it does support mongodb too
i am using mongodb compass and it is only showing me one collection too
![](https://utfs.io/f/bb89f77d-52db-43f5-a66b-5d4a6afac5dc-1nq2cb.png)
and inside has zero documents, weird
but i can query in code
perhaps the data is in a different database?
![](https://utfs.io/f/26478c69-4e1b-4d79-bbad-bb95281589ac-1nq2cb.png)
ive only been using one database "test"
cant hurt to check?
![](https://utfs.io/f/03ff1a73-f963-4ed8-8dc1-034cd478e6be-1nq2cb.png)
fair
are you connected to an entirely different database all together?
hmm i dont think so
i havent changed anything within the last hour and suddenly showing differernt half hour ago
well theres not much i can help with here im afraid, you will have to do some investigation
even when i do the backup via mongodumb it dumps fully everything
I'm sorry i dont know what to tell you
if i do this will i lose my data?
![](https://utfs.io/f/5de34495-e6f9-4046-9536-dd93f91eb9de-1nq2cb.png)
nope
damn
restarted and still no go, not sure what is up
thanks anyhow for your help
i found out the issue, turns out i was in "develop" mode, not production, i didnt know they had two different databases
![](https://utfs.io/f/3c709502-9a53-4224-b2a7-de3ad3f5a234-1nq2cb.png)