2
0

Add UUIDArray type

Also change UUID.Set() to convert nil to NULL in order for
UUIDArray.Set() to support converting [][]byte slices that contain nil.
This commit is contained in:
Kelsey Francis
2017-08-27 19:31:22 -07:00
parent f65776f084
commit 1e36edf4b0
5 changed files with 583 additions and 4 deletions
+2
View File
@@ -49,6 +49,7 @@ const (
NumericOID = 1700
RecordOID = 2249
UUIDOID = 2950
UUIDArrayOID = 2951
JSONBOID = 3802
)
@@ -223,6 +224,7 @@ func init() {
"_text": &TextArray{},
"_timestamp": &TimestampArray{},
"_timestamptz": &TimestamptzArray{},
"_uuid": &UUIDArray{},
"_varchar": &VarcharArray{},
"aclitem": &ACLItem{},
"bool": &Bool{},