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

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


The following commit(s) were added to refs/heads/main by this push:
     new b13b7c7  Update README.md (#326)
b13b7c7 is described below

commit b13b7c769b61f8ab08376695259661a579c3977a
Author: Hamza <[email protected]>
AuthorDate: Fri Mar 10 11:45:56 2023 +0300

    Update README.md (#326)
---
 README.md | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 96acc04..a8cf786 100644
--- a/README.md
+++ b/README.md
@@ -587,9 +587,10 @@ const response = await alice.bulk({ docs: documents })
 List all the docs in the database .
 
 ```js
-const doclist = await alice.list().then((body)
-doclist.rows.forEach((doc) => {
-  console.log(doc);
+const doclist = await alice.list().then((body)=>{
+    body.rows.forEach((doc) => {
+        console.log(doc);
+    })
 });
 ```
 

Reply via email to