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 3d9e754  added missing TypeScript definition for findAsStream (#361)
3d9e754 is described below

commit 3d9e754f416763c4a0e41ce4aa0b96de815af49e
Author: Glynn Bird <[email protected]>
AuthorDate: Thu Oct 16 08:59:28 2025 +0100

    added missing TypeScript definition for findAsStream (#361)
    
    Co-authored-by: Glynn Bird <[email protected]>
---
 lib/nano.d.ts | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/nano.d.ts b/lib/nano.d.ts
index 15fad97..d1809b9 100644
--- a/lib/nano.d.ts
+++ b/lib/nano.d.ts
@@ -550,6 +550,9 @@ declare namespace nano {
     /** Run Mango query.
      * @see Docs: {@link 
http://docs.couchdb.org/en/latest/api/database/find.html#db-find} */
     find(query: MangoQuery): Promise <MangoResponse<D>>;
+    /** Run Mango query as a stream.
+     * @see Docs: {@link 
http://docs.couchdb.org/en/latest/api/database/find.html#db-find} */
+    findAsStream(query: MangoQuery): NodeJS.ReadStream;
     /** Server scope */
     server: ServerScope;
     /** Fetch information about a single partition in this database.

Reply via email to