Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

switch mongo db #104

Closed
Mr-LLLLL opened this issue Jul 24, 2021 · 5 comments · May be fixed by #268
Closed

switch mongo db #104

Mr-LLLLL opened this issue Jul 24, 2021 · 5 comments · May be fixed by #268

Comments

@Mr-LLLLL
Copy link

how to switch mongo db in UI, just like mysql

@kristijanhusak
Copy link
Owner

You'll have to be more precise, I don't know what you mean by "switch".

@Mr-LLLLL
Copy link
Author

dadbod

here is two database tree structure in dadbod-ui, i want to mongo is like mysql, just can switch database in dadbod-ui. but now, mongo database in dadbod-ui is selected when connected to mongod and can't change

@Mr-LLLLL
Copy link
Author

my dadbod-ui setting is follow

let g:dbs = [
{"url": "mysql://root:root@localhost:3306", "name": "mysql-local"},
{"url": "mongodb://:@localhost:27017", "name": "mongo-local"}
]

@kristijanhusak
Copy link
Owner

As far as I know Mongo does not have schemas. You will have to add those as separate entries.
I didn't do much for mongo integration, I'm not using it on daily basis. If you think it can be improved feel free to submit a PR.

@Mr-LLLLL
Copy link
Author

oh ~, i see, thank you for your answer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants