shubhimu
7 years agoContributor
Mongo Db query not working in JDBC TestSTep of Ready API
Hi,
I am able to connect to mongo db after placing the mongodb_unityjdbc_full driver in ext folder.
But i am not sure how i can run query from jdbc test step.
I tried following the mongo db syntax but its throwing below errror message:
2018-12-26 07:25:54.543 - Error getting response; java.sql.SQLException: Parse Exception: unity.parser.ParseException: Encountered " "(" "( "" at line 1, column 17.
Was expecting:
";" ...
Input query: db.customer.find({leadId:"83863270"},
{accountState:1,leadId:1,_id:0});
Can someone please help me how i can place query under sql query section of jdbc test step for mongo db ?. Please see the image for your reference