jnunemaker/mongomapper — Issue #372: Is there way to MongoDB server-side function like db.eval()
Author: raygao
Created: 2011-12-31 03:57:19+00:00
State: open

Hi,
Is there a way to call server-side function, like below

>db.system.js.save({ "_id" : "echo", "value" : function(x){return x;} })
>db.eval("echo('test')")

I cannot find any method on that?

Thanks,

-Ray