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 2025/10/15 14:50:45 UTC
(couchdb-nano) branch missing-findAsAsStream-typescript created (now 648b093)
This is an automated email from the ASF dual-hosted git repository.
glynnbird pushed a change to branch missing-findAsAsStream-typescript
in repository https://gitbox.apache.org/repos/asf/couchdb-nano.git
at 648b093 added missing TypeScript definition for findAsStream
This branch includes the following new commits:
new 648b093 added missing TypeScript definition for findAsStream
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(couchdb-nano) 01/01: added missing TypeScript definition for findAsStream
Posted by gl...@apache.org.
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 <gl...@apache.org>
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.