Small fixes
A selection of 80 fixes from 174 pull requests.
27.The string “null”
sql.json("null") returned null, and sql.json("hello") failed to parse. PGlite treated strings as JSON source. Encode string values before binding.
12345345676const value = withoutTransform || transformValue === undefined ? type.paramA : transformValue(type.paramA)return [ placeholder(undefined), [ withoutTransform || transformValue === undefined ? type.paramA : transformValue(type.paramA) ] [typeof value === "string" ? JSON.stringify(value) : value]