Skip to content

Mongoose

Notes

  • convert objectId to string
doc._id.toHexString();
doc._id.toString();