If you open a MongoJS query analyzer and attempt to change the database context with "use <database>" it returns success but does not actually change the database context. create database db1 & db2. create collection col1 under db1 and insert records into it. open a mongojs by right clicking on db2 and execute "use db1" then "db.col1.find()". nothing will be found.
In mongojsusecommand.png you see i'm in local, then execute use ivan, then db.ivan.find() and nothing shows up.
in mongojsusecommand1.png you see i'm in ivan and exeucte db.ivan.find() and the data shows.
|
77 KB
|
95 KB
|
69 KB
|
90 KB
Build: ADS17.0.0-rc-31
USE command switches database properly.
Reopening the issue due to Warning message.
It displays below message:
USE command doesn't return a result set. For commands that don't return a result set, their outputs are displayed as warnings.
USE command doesn't return a result set. For commands that don't return a result set, their outputs are displayed as warnings.
Issue #13813 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
Fixed Build ADS 17.0.0-rc-31, mongo-jdbc 1.4.7.7, 2.4.7.7 |
No time estimate |
1 issue link |
relates to #13832
Issue #13832MongoJS-> Add Support for Opening New Connections |
Build: ADS17.0.0-rc-31
USE command switches database properly.
Reopening the issue due to Warning message.
It displays below message:
Here warning message should not be displayed.
"switched to db pcat" should be displayed as result instead warning message.
Please refer screenshot: Fixed-13813