I've already looked at this but it doesn't seem to work either, if I
perform an identical operation but change the collection to system.js then
I get the same error.
If I pull code straight from the example in the page you linked and run it
I instead get the following error
TypeError: Cannot read property 'js' of undefined
at nextTickCallbackWith0Args (node.js:420:9)
at process._tickCallback (node.js:349:13)
You received this message because you are subscribed to the Google Groups "mongodb-user"