You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by gl...@apache.org on 2018/12/17 08:05:28 UTC

[couchdb-nano] branch master updated: keys can be set as array (#135)

This is an automated email from the ASF dual-hosted git repository.

glynnbird pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git


The following commit(s) were added to refs/heads/master by this push:
     new d34edb8  keys can be set as array (#135)
d34edb8 is described below

commit d34edb8d38911d4ef9f6c6dca5c889376ab8b172
Author: Mickael Lecoq <mk...@gmail.com>
AuthorDate: Mon Dec 17 09:05:24 2018 +0100

    keys can be set as array (#135)
---
 lib/nano.d.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/nano.d.ts b/lib/nano.d.ts
index b6dd3ae..e00fade 100644
--- a/lib/nano.d.ts
+++ b/lib/nano.d.ts
@@ -908,7 +908,7 @@ declare namespace nano {
     key?: string;
 
     // Return only documents that match the specified keys.
-    keys?: string; // This can be string[] too ???
+    keys?: string | string[]; 
 
     // Limit the number of the returned documents to the specified number.
     limit?: number;