mongoqp
mongoqp copied to clipboard
Support better output for geospatial queries
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"
).