You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix MongoDB queries in Studio by using correct API endpoint
- Change executeCommandTable() and executeCommandGraph() to use /api/v1/query/ endpoint for MongoDB queries instead of /api/v1/command/
- Add defensive null checks for data.result to prevent JavaScript errors when response is empty
- MongoDB queries now work correctly in Studio as the /query endpoint uses database.query() which is implemented for MongoDB
Co-authored-by: robfrank <413587+robfrank@users.noreply.github.com>
0 commit comments