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

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

commit 648b093e31a3daece7b3b638d2ed1e7987a2a626
Author: Glynn Bird <[email protected]>
AuthorDate: Wed Oct 15 15:50:32 2025 +0100

    added missing TypeScript definition for findAsStream
---
 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