mongoose: shorten attribute names of node.js models for storage mongoose: shorten attribute names of node.js models for storage mongoose mongoose

mongoose: shorten attribute names of node.js models for storage


There is a plugin where you can specify alias names, so that you can store single letter fields in the DB, but have really_long_names in your code:

https://github.com/ramiel/Alias-Field-Mongoose-plugin