Query mongodb from jasper report ,could not use _id

0

Hi ,

 I would like to query using _id field in the collection but could  not use that.

{
collectionName:"patientvisits",
findQuery:{"_id": $P{patientvisitid}  } 
}
 
i use like that but the document is empty, when i try to give inside ObjectId it gives JSON Parser Error, please help.
a.manojkumar1987's picture
Joined: Apr 14 2017 - 5:37am
Last seen: 3 weeks 5 days ago

0 Answers:

No answers yet
Feedback
randomness