when I input
DB.prototype
the mongodb shell said
undefined
But when i input
DB.prototype.dropDatabase
It return the source code of the method 'dropDatabase'. So,what the prototype means?So does DB?
when I input
DB.prototype
the mongodb shell said
undefined
But when i input
DB.prototype.dropDatabase
It return the source code of the method 'dropDatabase'. So,what the prototype means?So does DB?