--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/c786f4f5-56a5-446d-8db8-fa7efd43d9d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What's in this script you got on the internet?Do you actually need to run this script? And use eval? All you need to get the version is run this command against admin DB:"buildinfo" - that will have a field valled "version" in it which corresponds to the version of mongodb running.Asya
On Sun, Jun 29, 2014 at 10:49 PM, <monosij...@gmail.com> wrote:
Hello -Am trying out eval in PyMongo (Python 3.4) on MongoDB 2.6.3. Running on Ubuntu 14.04.
The JS script works fine when I run from command line as in: mongo base.js.
Michael was pointing out that you pass actual Javascript to eval command.
You can pass a js file to mongo shell command.
Asya
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/83c6f1cc-7599-4d4b-b417-1b91a695b105%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/3XBCd1YvMRU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAOe6dJDP7BDoJ9pn2KvM9hsrz1Ng%3D04APndLjA0Xsp53YTZnMA%40mail.gmail.com.