Minor Changes
625c3e7Thanks @gajus! - fix: the types no longer accept arrays and buffers as values interpolated in a query, or as members ofsql.join,sql.list,sql.andandsql.or. They passed type-checking, but always threw at runtime (e.g. "Unexpected value expression."). Bind arrays usingsql.arrayand buffers usingsql.binary. Code that interpolates a value typed asPrimitiveValueExpression(which includes arrays and buffers) no longer compiles; type the value asValueExpressioninstead.
Patch Changes
- Updated dependencies [
6090a3c]:- @slonik/errors@49.14.0
- @slonik/types@49.14.0