Ask a Question
Advertise on boostr.in
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.
Sep 22, 2015
to add a comment.
Related Hot Questions
Your name to display (optional):
Email me at this address if my answer is selected or commented on:
Email me if my answer is selected or commented on
Privacy: Your email address will only be used for sending these notifications.
To avoid this verification in future, please