mongodb java driver - raw command?

Posted by Scott on Stack Overflow See other posts from Stack Overflow or by Scott
Published on 2010-05-05T18:47:08Z Indexed on 2010/05/05 18:48 UTC
Read the original article Hit count: 184

Filed under:
|

Is it possible to execute raw commands as javascript through the Java driver for MongoDB?

I'm tired of wrapping everything in Java objects using Rhino, and would happily sacrifice performance for the convenience of passing javascript directly through to the DB.

If not, I can always use sleepymongoose or something, but I don't really want to add yet another language (python) to the stack at this point.

Any insights are appreciated.

© Stack Overflow or respective owner

Related posts about mongodb

Related posts about java