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

Wrap long queries #18

Open
dandv opened this issue Jul 8, 2014 · 1 comment
Open

Wrap long queries #18

dandv opened this issue Jul 8, 2014 · 1 comment

Comments

@dandv
Copy link

dandv commented Jul 8, 2014

Some queries are not displayed because they're too large and db.currentOp() doesn't return them. But all other queries are truncated by the right margin of the terminal. Any chance to wrap the query onto multiple lines? Bonus points for pretty-printing it.

@hasegeli
Copy link
Contributor

I designed the tool to be able to see many operations in the same screen. I can be helpful to give more details about them when there is enough space. Though I cannot imagine an easy way to do so.

Explain button pretty-prints the full query. It would be easy to add other one to print it without explain. Do you think it would be useful?

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

No branches or pull requests

2 participants