原型在MongoDB shell中意味着什么?

时间:2017-05-26 04:37:56

标签: javascript mongodb mongo-shell

当我输入

DB.prototype
mongodb shell说

undefined

但是当我输入

DB.prototype.dropDatabase

它返回方法'dropDatabase'的源代码。 那么,原型意味着什么呢?DB也是如此?

0 个答案:

没有答案
相关问题