Open mihelich opened 1 year ago
Appender.AppendRowArray doesn't recognize the sql.Null* value types like sql.NullString. Clients can provide a driver.Value that is either nil (to insert NULL) or a fundamental type, but the sql.Null* types are more readable and type-safe.
Appender.AppendRowArray
sql.Null*
driver.Value
nil
Appender.AppendRowArray
doesn't recognize thesql.Null*
value types like sql.NullString. Clients can provide adriver.Value
that is eithernil
(to insert NULL) or a fundamental type, but thesql.Null*
types are more readable and type-safe.