MCPcopy Create free account
hub / github.com/francoispqt/gojay / SQLNullBool

Method SQLNullBool

encode_sqlnull.go:340–342  ·  view source on GitHub ↗

SQLNullBool adds a string to be encoded, must be used inside an object as it will encode a key

(v *sql.NullBool)

Source from the content-addressed store, hash-verified

338
339// SQLNullBool adds a string to be encoded, must be used inside an object as it will encode a key
340func (enc *Encoder) SQLNullBool(v *sql.NullBool) {
341 enc.Bool(v.Bool)
342}
343
344// SQLNullBoolOmitEmpty adds a string to be encoded, must be used inside an object as it will encode a key
345func (enc *Encoder) SQLNullBoolOmitEmpty(v *sql.NullBool) {

Callers 1

TestAddSQLNullBoolFunction · 0.95

Calls 1

BoolMethod · 0.95

Tested by 1

TestAddSQLNullBoolFunction · 0.76