DEV Community

Discussion on: How to Create Relationships with Mongoose and Node.JS

Collapse
adsadsasdasdasd profile image
Diego

Hi, How can I remove the id and _id repeated from the last image?

Collapse
giancode1 profile image
Giancarlo C

link

new Schema({ ... }, { id: false });