Skip to content

Commit

Permalink
Update doc links to node-postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
Alkarex committed Jul 19, 2023
1 parent 1d53cbf commit fc3482f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ An exception is if the *Split results* option is enabled and the *Number of rows
then `msg.payload` is not an array but the single-row response.

Additional information is provided as `msg.pgsql.rowCount` and `msg.pgsql.command`.
See the [underlying documentation](https://node-postgres.com/api/result) for details.
See the [underlying documentation](https://node-postgres.com/apis/result) for details.

In the case of multiple queries, then `msg.pgsql` is an array.

Expand Down Expand Up @@ -72,7 +72,7 @@ so this is less robust than numeric parameters.
### Dynamic PostgreSQL connection parameters

If the information about which database server to connect and how needs to be dynamic,
it is possible to pass a [custom client configuration](https://node-postgres.com/api/client) in the message:
it is possible to pass a [custom client configuration](https://node-postgres.com/apis/client) in the message:

```js
msg.pgConfig = {
Expand Down
4 changes: 2 additions & 2 deletions locales/en-US/postgresql.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3>Outputs</h3>
</p>
<p>
Additional information is provided as <code>msg.pgsql.rowCount</code> and <code>msg.pgsql.command</code>.
See the <a href="https://node-postgres.com/api/result">underlying documentation</a> for details.
See the <a href="https://node-postgres.com/apis/result">underlying documentation</a> for details.
</p>
<p>In the case of multiple queries, then <code>msg.pgsql</code> is an array.</p>

Expand Down Expand Up @@ -65,7 +65,7 @@ <h4>Parameterized queries</h4>
<h4>Dynamic PostgreSQL connection parameters</h4>
<p>
If the information about which database server to connect and how needs to be dynamic,
it is possible to pass a <a href="https://node-postgres.com/api/client">custom client configuration</a> in the message:
it is possible to pass a <a href="https://node-postgres.com/apis/client">custom client configuration</a> in the message:
</p>

<pre>
Expand Down

0 comments on commit fc3482f

Please sign in to comment.