Saeid Mohadjer
  • Home
  • Blog
  • CV
  • GitHub

Filter by tags

  • (1)
  • 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)
  • 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
  • HTML5 Valid
  • CSS3 Valid
  • PageSpeed Insights

Tax Nr.: 06169/58063
VAT Nr.: DE287169201

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