HF RL Explorer

MongoDB Shell Pretty Print Configuration

MongoDB Shell Pretty Print Configuration: a task in Terminal-Lego-15k (Harbor dataset). MongoDB shell by default outputs query results in a compact single-line format, which can be difficult to read, especially when dealing with nested arrays and documents. Your task is to configure MongoDB shell…

The task

MongoDB shell by default outputs query results in a compact single-line format, which can be difficult to read, especially when dealing with nested arrays and documents. Your task is to configure MongoDB shell to use pretty print (formatted JSON output) as the default behavior.

Part of PrimeIntellect/Terminal-Lego-15k.