Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

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 28, 2015 by android_master
0 votes
9 views



Related Hot Questions



Government Jobs Opening


...