Skip to content

Commit aedae81

Browse files
authored
Fix broken link in docs (brianc#3155)
* Fix broken link to /apis/types in docs * Adjust slugs in docs pages
1 parent 641ab43 commit aedae81

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

docs/pages/apis/cursor.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: pg.Cursor
3-
slug: /api/cursor
3+
slug: /apis/cursor
44
---
55

66
A cursor can be used to efficiently read through large result sets without loading the entire result-set into memory ahead of time. It's useful to simulate a 'streaming' style read of data, or exit early from a large result set. The cursor is passed to `client.query` and is dispatched internally in a way very similar to how normal queries are sent, but the API it presents for consuming the result set is different.

docs/pages/apis/result.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: pg.Result
3-
slug: /api/result
3+
slug: /apis/result
44
---
55

66
The `pg.Result` shape is returned for every successful query.

docs/pages/apis/types.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Types
3-
slug: /api/types
3+
slug: /apis/types
44
---
55

66
These docs are incomplete, for now please reference [pg-types docs](https://github.com/brianc/node-pg-types).

docs/pages/features/queries.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ console.log(res.rows[0]) // ['Brian', 'Carlson']
123123

124124
### Types
125125

126-
You can pass in a custom set of type parsers to use when parsing the results of a particular query. The `types` property must conform to the [Types](/api/types) API. Here is an example in which every value is returned as a string:
126+
You can pass in a custom set of type parsers to use when parsing the results of a particular query. The `types` property must conform to the [Types](/apis/types) API. Here is an example in which every value is returned as a string:
127127

128128
```js
129129
const query = {

0 commit comments

Comments
 (0)