jmikola / mongoqp

A frontend for MongoDB's query profiler collection.
MIT License
170 stars 25 forks source link

Support better output for geospatial queries #10

Open jmikola opened 11 years ago

jmikola commented 11 years ago

Geospatial operators can receive special treatment. If a GeoJSON argument is passed, we should report the geometry type instead of reporting that type and coordinates are a string and array, respectively.

For legacy queries, ensure that shape operators yield concise output (e.g. $box: "Array").