➜ mongotest cat test.js
load("test2.js");
print("test.js");
foo();
➜ mongotest cat test2.js
var foo = function() {
print("test2.js");
};
➜ mongotest mongo test.js
MongoDB shell version: 2.0.6
connecting to: test
test.js
test2.js
mongodb 加载多个文件
最新推荐文章于 2024-03-10 16:29:20 发布