Saeid Mohadjer Full-stack Developer

Filter by tags

  • a11y (1)
  • angular (2)
  • api (4)
  • authentication (2)
  • cache (1)
  • css (4)
  • devops (2)
  • git (1)
  • handlebars (1)
  • html5 (1)
  • javascript (12)
  • mac (2)
  • mongodb (1)
  • node.js (3)
  • php (1)
  • react (4)
  • react-native (5)
  • responsive (1)
  • shell (1)
  • test (1)
  • tools (1)
  • typescript (4)
  • vercel (7)
2025-04-24

MongoDB and Node.js notes

mongodb node.js

To convert ObjectId to string use ObjectId.toString() and to convert an string ID to ObjectId use ObjectId.createFromHexString(myStringID)

Saeid Mohadjer
Denzlingerstr. 20
79108 Freiburg
Germany
Phone: +49 176 8826 9966
info@saeidmohadjer.com

This website neither uses cookies nor collects personal data and is hosted on servers within EU region.