prompt = function() { var host = db.serverStatus().host; return "[" + host + "] db: " + db + " docs: " + db.stats().objects + " > "; }