AddSQLNullBool adds a string to be encoded, must be used inside a slice or array encoding (does not encode a key)
(v *sql.NullBool)
| 304 | |
| 305 | // AddSQLNullBool adds a string to be encoded, must be used inside a slice or array encoding (does not encode a key) |
| 306 | func (enc *Encoder) AddSQLNullBool(v *sql.NullBool) { |
| 307 | enc.Bool(v.Bool) |
| 308 | } |
| 309 | |
| 310 | // AddSQLNullBoolOmitEmpty adds a string to be encoded or skips it if it is zero value. |
| 311 | // Must be used inside a slice or array encoding (does not encode a key) |