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

Method SQLNullBoolKey

encode_sqlnull.go:359–361  ·  view source on GitHub ↗

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

(key string, v *sql.NullBool)

Source from the content-addressed store, hash-verified

357
358// SQLNullBoolKey adds a string to be encoded, must be used inside an object as it will encode a key
359func (enc *Encoder) SQLNullBoolKey(key string, v *sql.NullBool) {
360 enc.BoolKey(key, v.Bool)
361}
362
363// SQLNullBoolKeyOmitEmpty adds a string to be encoded or skips it if it is zero value.
364// Must be used inside an object as it will encode a key

Callers 1

TestAddSQLNullBoolKeyFunction · 0.95

Calls 1

BoolKeyMethod · 0.95

Tested by 1

TestAddSQLNullBoolKeyFunction · 0.76