-
Notifications
You must be signed in to change notification settings - Fork 214
Mongotron Query Editor
Tim Officer edited this page Feb 25, 2016
·
5 revisions
The Mongotron Query editor is a Javascript REPL. You can type any arbitrary Javascript and it will be evaluated and the results will be displayed below the editor in the result view.
For example typing:
var helloWorld = "Hello World!";
helloWorld
would result in
"Hello World"
Using the Esprima JS library we are able to parse the Javascript and determine if a Mongo query is being run. In which case we'll convert the results into Key Value pairs, and property types, etc...