function name regexObjSubObjKey function code function(proto,value) { var match=false; var reg = new RegExp('.*'+value); print(JSON.stringify(this.obj)); print(this['arr_'+proto]); for(var key in this.obj['arr_'+proto]){ print(key); if(key!='count'&&a…
一.高级查询 1. 查询操作符 1.1 比较操作符$gt,$lt,$gte,$lte 实例: select * from things where field<value -- 等价于db.things.find({"field":{$lt:value}})select * from things where field<value2 and field>value1 -- 等价于db.things.find({"field":{$lt:value…