8.9k views
4 votes
In MongoDB, the ______ method is used to improve the readability of retrieved documents through the use of line breaks and indention.

User Ibininja
by
7.9k points

1 Answer

5 votes

Answer:

pretty()

Step-by-step explanation:

In MongoDB, the pretty() method is used to improve the readability of retrieved documents through the use of line breaks and indention.

To display the results in a formatted way, more beautiful and organized, one can use pretty() method.

If database is huge, this method really comes in handy.

User Madhushankarox
by
9.1k points