skip to Main Content

How to fetch a single record of a field from a document in MongoDb using Java(with the help of query not Loop)

{ "_id" : "0289f117-54b7-451c-915c-c7948dbad22c", "approvers" : [], "reviewers" : [], "cvoReviewers" : [], "payer" : "medicaid", "affiliationChildren" : [ { "parentProviderEmailId" : "[email protected]", "provider" : { "email" : "[email protected]", "firstName" : "si5", "lastName" : "ind", "providerId" : "628b7425d442284ba6c5d330", "providerExternalId" :…

VIEW QUESTION

Mongodb – MongoServerSelectionError: connection <monitor> to xx.xxx.xxx.xxx:27017 closed (whitelisting IP and opening the port didn't work)

i'm learning MongoDB and i'm sorry to bother you but i'm getting this error: MongoServerSelectionError: connection <monitor> to xx.xxx.xxx.xxx:27017 closed at Timeout._onTimeout (C:...node_modulesmongodblibsdamtopology.js:305:38) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { reason: TopologyDescription { type: 'ReplicaSetNoPrimary', servers: Map(3) { 'ac-c9obg9r-shard-00-00.onq7cwz.mongodb.net:27017' =>…

VIEW QUESTION
Back To Top
Search