Skip to content

Commit

Permalink
Add 'uuid' column type to decodeText (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
killbond007 authored and bartlomieju committed Jan 26, 2020
1 parent f3e71a2 commit 75d657e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions decode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ function decodeText(value: Uint8Array, typeOid: number): any {
case Oid.cidr:
case Oid.macaddr:
case Oid.name:
case Oid.uuid:
return strValue;
case Oid.bool:
return strValue[0] === "t";
Expand Down

0 comments on commit 75d657e

Please sign in to comment.