Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

108
Views
How can I watch for changes to a specific object in a Mongo DB collection?

I want to look for changes for a specific object in mongo db that I can then use socket io to post to the client. I found a lot of ways to watch a whole collection for changes but watching a whole collection isn't what I need as I only need the client who created a object to be able to know when that specific object updates.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

It looks like you can accomplish this with something called Change Streams.

From the docs: https://docs.mongodb.com/drivers/node/current/usage-examples/changeStream/

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!