Re: Use of Shell to get JSON from a MongoDB

2014-03-08 Thread Mark Wieder
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 "líne 3 to - 1" to get rid of the 2 first línes. The problem is now > that the documents dont have antes explicit _id anda Mongo create antes > ObjectId, that

Re: Use of Shell to get JSON from a MongoDB

2014-03-08 Thread Javier Miranda
Thank you Mark, I was abre to fiel fiel "A" with the Mongo results, the I use "líne 3 to - 1" to get rid of the 2 first línes. The problem is now that the documents dont have antes explicit _id anda Mongo create antes ObjectId, that MergJSON refieres to parse. Any ideas? Saludos, Javier ___

Re: Use of Shell to get JSON from a MongoDB

2014-03-05 Thread Mark Wieder
Javier- Wednesday, March 5, 2014, 8:19:14 AM, you wrote: > After strugling and finally understand with help from friends at > Stackoverflow, how the find() command works in the interative javascript > shell of MongoDB, now I know that find() returns a cursor. > But still have some problems tryin

Re: Use of Shell to get JSON from a MongoDB

2014-03-05 Thread Andrew Kluthe
I work with mongoDB a lot from livecode but unfortunately it is all through REST API's built in other languages with native drivers so I can't help here. :( On Wed, Mar 5, 2014 at 10:19 AM, Javier Miranda V. wrote: > After strugling and finally understand with help from friends at > Stackoverflo

Use of Shell to get JSON from a MongoDB

2014-03-05 Thread Javier Miranda V.
After strugling and finally understand with help from friends at Stackoverflow, how the find() command works in the interative javascript shell of MongoDB, now I know that find() returns a cursor. But still have some problems trying to get JSON from my local MongoDB. Issuing: db.test.find() --