From ee8cd3043afac6162b5e2e7f414b6f199a5a6b86 Mon Sep 17 00:00:00 2001 From: Olli Warro Date: Fri, 31 May 2024 14:02:04 +0300 Subject: [PATCH] update readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 25cad01..02b8e31 100644 --- a/README.md +++ b/README.md @@ -351,7 +351,7 @@ const result = await trx.execute(); Then, one can loop through the result items as so: ```ts -// note that item can be undefined +// note that the items can be undefined if they were not found from DynamoDB result.forEach(([table, item]) => { if (table === "myTable") { // item's type is DDB["myTable"]