db.eval("
function()
{
var a=db.testc.find();
return a[0].name;
}
"
)
//向数组插入数据
function(){ db.testc.update({"name":"sulin"},{$push:{"users":{$ref:"test",$id:"4444"}}})}