Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 705 Bytes

File metadata and controls

44 lines (31 loc) · 705 Bytes

Tested

Starting with drivers that pass go-sql-test.

Design doc

pgx

jackc/pgx#1169 (comment)

type Status byte

const (
	Undefined Status = iota
	Null
	Present
)

type ACLItem struct {
	String string
	Status Status
}

stdlib

type NullString struct {
    String string
    Valid  bool // Valid is true if String is not NULL
}
  • Have another null type for pgtype?