We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d4e619 commit 5915574Copy full SHA for 5915574
deno.json
@@ -1,6 +1,6 @@
1
{
2
"lock": false,
3
"name": "@bartlomieju/postgres",
4
- "version": "0.19.1",
+ "version": "0.19.2",
5
"exports": "./mod.ts"
6
}
query/decode.ts
@@ -226,7 +226,7 @@ export function decode(
226
return decoderFunc(strValue, column.typeOid, parseArray);
227
} // if no custom decoder is found and the oid is for an array type, check if there is
228
// a decoder for the base type and use that with the array parser
229
- else if (oidType.includes("_array")) {
+ else if (oidType?.includes("_array")) {
230
const baseOidType = oidType.replace("_array", "") as OidType;
231
// check if the base type is in the Oid object
232
if (baseOidType in Oid) {
0 commit comments