dnp.js:5未捕获TypeError:db.collection(...)。insert不是函数 在addBusiness(dnp.js:5)
function addBusiness() {
db.collection("businesses").insert({owner_id : client.authedId(),
city: "mycity",
county: "mycounty",
name: "mybusiness",
state: "myState",
street: "mystreet",
zip: "myzip"});
}