From cf997aaef40296947fe170a2afa3fa00a9d98f84 Mon Sep 17 00:00:00 2001 From: Alistair Smith Date: Thu, 3 Jul 2025 22:44:17 -0700 Subject: [PATCH] Update src/js/bun/sql.ts Co-authored-by: graphite-app[bot] <96075541+graphite-app[bot]@users.noreply.github.com> --- src/js/bun/sql.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/bun/sql.ts b/src/js/bun/sql.ts index 49d56cc87e..fd21f73c93 100644 --- a/src/js/bun/sql.ts +++ b/src/js/bun/sql.ts @@ -284,7 +284,7 @@ function normalizeQuery(strings, values, binding_idx = 1) { const command = detectCommand(query); // only selectIn, insert, update, updateSet are allowed if (command === SQLCommand.none || command === SQLCommand.where) { - throw new SyntaxError("Helper are only allowed for INSERT, UPDATE and WHERE IN commands"); + throw new SyntaxError("Helpers are only allowed for INSERT, UPDATE and WHERE IN commands"); } const { columns, value: items } = value as SQLHelper; const columnCount = columns.length;