From 118da68e77dee45759476d8a651f769ecc83c0fd Mon Sep 17 00:00:00 2001 From: happy-game Date: Tue, 8 Jul 2025 12:11:47 +0000 Subject: [PATCH] docs(readme): Update README --- packages/gaussdb-cursor/README.md | 2 +- packages/gaussdb-pool/README.md | 4 ++-- packages/gaussdb-query-stream/README.md | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/gaussdb-cursor/README.md b/packages/gaussdb-cursor/README.md index 6a961898a..4655dbfd5 100644 --- a/packages/gaussdb-cursor/README.md +++ b/packages/gaussdb-cursor/README.md @@ -8,7 +8,7 @@ Use a GaussDB result cursor from node with an easy to use API. ```sh $ npm install gaussdb-cursor ``` -___note___: this depends on _either_ `npm install gaussdb` or `npm install gaussdb.js`, but you __must__ be using the pure JavaScript client. +___note___: this depends on _either_ `npm install gaussdb-node` or `npm install gaussdb.js`, but you __must__ be using the pure JavaScript client. ### :star: Documentation :star: diff --git a/packages/gaussdb-pool/README.md b/packages/gaussdb-pool/README.md index 1df231de9..601596650 100644 --- a/packages/gaussdb-pool/README.md +++ b/packages/gaussdb-pool/README.md @@ -6,7 +6,7 @@ A connection pool for gaussdb-node ## install ```sh -npm i gaussdb-pool gaussdb +npm i gaussdb-pool gaussdb-node ``` ## use @@ -27,7 +27,7 @@ const pool = new Pool() // and the node-pool (https://github.com/coopernurse/node-pool) constructor // allowing you to fully configure the behavior of both const pool2 = new Pool({ - database: 'gaussdb-node', + database: 'test_db', user: 'tset', password: 'secret!', port: 5432, diff --git a/packages/gaussdb-query-stream/README.md b/packages/gaussdb-query-stream/README.md index 06a1cce63..d0e1ca4f8 100644 --- a/packages/gaussdb-query-stream/README.md +++ b/packages/gaussdb-query-stream/README.md @@ -5,11 +5,11 @@ Receive result rows from [gaussdb](https://github.com/HuaweiCloudDeveloper/gauss ## installation ```bash -$ npm install gaussdb --save +$ npm install gaussdb-node --save $ npm install gaussdb-query-stream --save ``` -_requires gaussdb>=2.8.1_ +_requires gaussdb-node>=0.2.1_ ## use