Skip to content

Mongotron Query Editor

Tim Officer edited this page Feb 25, 2016 · 5 revisions

Mongotron Query Editor

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"

Mongo Queries

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...

Clone this wiki locally