I am just starting a new project with MongoDb/NodeJS. As usually, I build schema field with camelCase like:
fullName
propertyType
It looks very easy for me to get data because Javascript use camelCase on code. I can directly use object return from MongoDB
But when I try to load sample data on Mongo Atlas. Every field is named as underscore:
full_name
property_type
Mongo Atlas is a leader on MongoDB server. I want to use the standard for my projects.
From my perspective, NodeJS and MongoDB is closed friends.
But I don't know why do not use camelCase instead of underscore?