Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken link in docs #3155

Merged
merged 2 commits into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/pages/apis/cursor.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: pg.Cursor
slug: /api/cursor
slug: /apis/cursor
---

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.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/apis/result.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: pg.Result
slug: /api/result
slug: /apis/result
---

The `pg.Result` shape is returned for every successful query.
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/apis/types.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Types
slug: /api/types
slug: /apis/types
---

These docs are incomplete, for now please reference [pg-types docs](https://github.com/brianc/node-pg-types).
2 changes: 1 addition & 1 deletion docs/pages/features/queries.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ console.log(res.rows[0]) // ['Brian', 'Carlson']

### Types

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:
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:

```js
const query = {
Expand Down