Skip to content

Commit 500cad0

Browse files
authored
Fix typo in pg.Result documentation (#148)
`dataTypeId` -> `dataTypeID`
1 parent aa91660 commit 500cad0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: content/api/3-result.mdx

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Every result will have a rows array. If no rows are returned the array will be e
1515

1616
### `result.fields: Array<FieldInfo>`
1717

18-
Every result will have a fields array. This array contains the `name` and `dataTypeId` of each field in the result. These fields are ordered in the same order as the columns if you are using `arrayMode` for the query:
18+
Every result will have a fields array. This array contains the `name` and `dataTypeID` of each field in the result. These fields are ordered in the same order as the columns if you are using `arrayMode` for the query:
1919

2020
```js
2121
const { Pool } = require('pg')

0 commit comments

Comments
 (0)