From 16a48fac4ebaad5345954fa3b5ee4a3671e7423b Mon Sep 17 00:00:00 2001 From: Zachary Kim Date: Sat, 21 Aug 2021 08:35:25 -1000 Subject: [PATCH] Fix typo in pg.Result documentation `dataTypeId` -> `dataTypeID` --- content/api/3-result.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/api/3-result.mdx b/content/api/3-result.mdx index 73fc4a0..a0ef7dd 100644 --- a/content/api/3-result.mdx +++ b/content/api/3-result.mdx @@ -15,7 +15,7 @@ Every result will have a rows array. If no rows are returned the array will be e ### `result.fields: Array` -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: +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: ```js const { Pool } = require('pg')