TylerBrock / mongo-hacker

MongoDB Shell Enhancements for Hackers
tylerbrock.github.io/mongo-hacker
MIT License
1.79k stars 235 forks source link

Added javascript_keys option and feature, to format keys JavaScript style rather than JSON #219

Open softwarecreations opened 2 years ago

softwarecreations commented 2 years ago

Description of changes

Added javascript_keys option and feature, to format keys JavaScript style rather than JSON.

Resolves

I think I saw an issue that requested this feature, but couldn't find the issue when I looked for it now.

Unnecessary whitespaces removed

I see that my code editor did this. I did not intend to touch unrelated lines. I hope this isn't a problem.

Testing

I ran make install and ran a few queries.

Software Version(s) tested
mongo shell 5.0.7
MongoDB server 5.0.7
Operating system Linux x64 on modern kernel