From 4e38f2244aa2833b7e3e2a59964075d9f47b985b Mon Sep 17 00:00:00 2001 From: Dominic Barnes Date: Tue, 10 Jan 2017 08:09:08 -0700 Subject: [PATCH] add reference to server in doc scope --- lib/nano.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/nano.js b/lib/nano.js index 528e3f5a..b9223baa 100644 --- a/lib/nano.js +++ b/lib/nano.js @@ -741,7 +741,8 @@ module.exports = exports = nano = function dbScope(cfg) { search: viewSearch, spatial: viewSpatial, view: viewDocs, - viewWithList: viewWithList + viewWithList: viewWithList, + server: serverScope }; docScope.view.compact = function(ddoc, cb) {