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

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


The following commit(s) were added to refs/heads/issue148 by this push:
     new 61ac3d6  added README for drilldown parameter
61ac3d6 is described below

commit 61ac3d6c17c3d7afd5911041441b0fcba5657387
Author: Glynn Bird <[email protected]>
AuthorDate: Fri Mar 15 09:52:33 2019 +0000

    added README for drilldown parameter
---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index e89e444..3f354e3 100644
--- a/README.md
+++ b/README.md
@@ -918,6 +918,15 @@ alice.search('characters', 'happy_ones', { q: 'cat' 
}).then((doc) => {
 });
 ```
 
+or
+
+```js
+const drilldown = [['author', 'Dickens']['publisher','Penguin']]
+alice.search('inventory', 'books', { q: '*:*', drilldown: drilldown 
}).then((doc) => {
+  console.log(doc);
+});
+```
+
 Check out the tests for a fully functioning example.
 
 ### db.searchAsStream(designname, searchname, params)

Reply via email to