--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
Generally server-side javascript code is used during map/reduce, or in
a db.eval or $where statements; running javascript on the server has
limitations because it only runs in a single thread and is slower than
native operations, and doesn't use indexes.
If is best to search the list/group to find answers like this:
http://groups.google.com/group/mongodb-user/browse_thread/thread/3ed8f8506e74ca/c1b7612f6f6aab98
http://groups.google.com/group/mongodb-user/browse_thread/thread/9b7413e6f1fcf232
http://groups.google.com/group/mongodb-user/browse_thread/thread/dcf27a352b1e0e2c
db.eval() support and using system.js global functions are two different things.
Is there something you are trying to accomplish, or are you just
wondering about technical details?