Use of Shell to get JSON from a MongoDB
Mark Wieder
mwieder at ahsoftware.net
Sat Mar 8 13:25:06 EST 2014
Javier-
Saturday, March 8, 2014, 4:01:03 AM, you wrote:
> Thank you Mark, I was abre to fiel fiel "A" with the Mongo results, the I
> use "lne 3 to - 1" to get rid of the 2 first lnes. The problem is now
> that the documents dont have antes explicit _id anda Mongo create antes
> ObjectId, that MergJSON refieres to parse.
I'm not familiar with the way MergJSON works, so that may be a
question for Monte, but if you want to suppress the _id field, change
the first line to this:
put "var c=db.test.find({},{_id:0});" into dbText
--
-Mark Wieder
ahsoftware at gmail.com
This communication may be unlawfully collected and stored by the National
Security Agency (NSA) in secret. The parties to this email do not
consent to the retrieving or storing of this communication and any
related metadata, as well as printing, copying, re-transmitting,
disseminating, or otherwise using it. If you believe you have received
this communication in error, please delete it immediately.
More information about the use-livecode
mailing list