Organizational Research By

Surprising Reserch Topic

mongoose mongodb alias id field

mongoose mongodb alias id field  using -'mongodb,mongoose'

Is it possible with mongoose use a different name, in my case uppercase 'ID', as an alias for the schema _id field?
Would I need to add a virtual or is there another way of setting this up?

Any help gratefully received thanks.

asked Sep 22, 2015 by loknath.ganji
0 votes

Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.