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
Error : AzureCredentials is not defined ReferenceError: AzureCredentials is not defined at evalmachine.:1:12 at ContextifyScript.Script.runInNewContext (vm.js:18:15) at D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\lib\modules\expression\index.js:168:23 at Promise._execute (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\debuggability.js:159:9) at Promise._resolveFromExecutor (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\promise.js:460:18) at new Promise (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\promise.js:76:14) at _eval2 (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\lib\modules\expression\index.js:139:10) at D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\lib\modules\expression\index.js:38:9 at Promise._execute (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\debuggability.js:159:9) at Promise._resolveFromExecutor (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\promise.js:460:18)
The text was updated successfully, but these errors were encountered:
the query editor in Mongotron is just a JS REPL and evaluates any Javascript. So like Javascript accessing object properties containing hyphens you have to use bracket notation.
When attempting to run:
db.Service-AzureCredentials-AzureSubscription.find({
})
I get the following error:
Error : AzureCredentials is not defined ReferenceError: AzureCredentials is not defined at evalmachine.:1:12 at ContextifyScript.Script.runInNewContext (vm.js:18:15) at D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\lib\modules\expression\index.js:168:23 at Promise._execute (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\debuggability.js:159:9) at Promise._resolveFromExecutor (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\promise.js:460:18) at new Promise (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\promise.js:76:14) at _eval2 (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\lib\modules\expression\index.js:139:10) at D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\lib\modules\expression\index.js:38:9 at Promise._execute (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\debuggability.js:159:9) at Promise._resolveFromExecutor (D:\Downloads\Mongotron-win32-x64 (1)\Mongotron-win32-x64\resources\app.asar\node_modules\bluebird\js\release\promise.js:460:18)
The text was updated successfully, but these errors were encountered: