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

Method SQLNullInt64

encode_sqlnull.go:152–154  ·  view source on GitHub ↗

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

(v *sql.NullInt64)

Source from the content-addressed store, hash-verified

150
151// SQLNullInt64 adds a string to be encoded, must be used inside an object as it will encode a key
152func (enc *Encoder) SQLNullInt64(v *sql.NullInt64) {
153 enc.Int64(v.Int64)
154}
155
156// SQLNullInt64OmitEmpty adds a string to be encoded, must be used inside an object as it will encode a key
157func (enc *Encoder) SQLNullInt64OmitEmpty(v *sql.NullInt64) {

Callers 1

TestAddSQLNullInt64Function · 0.95

Calls 1

Int64Method · 0.95

Tested by 1

TestAddSQLNullInt64Function · 0.76