Categories
How to print the contents of a collection to the console?
Through x.find(...) displays information as an unexpanded array [object Object]. And how to display in expanded form, so that all fields would be visible?
Answer the question
In order to leave comments, you need to log in
Via util.inspect
console.log(JSON.stringify(data)) Of course, the method is very limited in terms of nesting.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question