diff --git a/.changeset/cozy-teams-play.md b/.changeset/cozy-teams-play.md new file mode 100644 index 0000000..efc6801 --- /dev/null +++ b/.changeset/cozy-teams-play.md @@ -0,0 +1,5 @@ +--- +"rescript-bun": patch +--- + +Fix typo in SQL `values` raw JS function diff --git a/src/SQL.res b/src/SQL.res index ac4b9f0..7187710 100644 --- a/src/SQL.res +++ b/src/SQL.res @@ -51,7 +51,7 @@ let object: (t, {..}, array) => SQLQuery.t = %raw(` let values: (t, array<'a>) => SQLQuery.t = %raw(` function(t, values) { - return t(arr) + return t(values) } `)