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

Method AddSQLNullInt64Key

encode_sqlnull.go:131–133  ·  view source on GitHub ↗

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

(key string, v *sql.NullInt64)

Source from the content-addressed store, hash-verified

129
130// AddSQLNullInt64Key adds a string to be encoded, must be used inside an object as it will encode a key
131func (enc *Encoder) AddSQLNullInt64Key(key string, v *sql.NullInt64) {
132 enc.Int64Key(key, v.Int64)
133}
134
135// AddSQLNullInt64KeyOmitEmpty adds a string to be encoded or skips it if it is zero value.
136// Must be used inside an object as it will encode a key

Callers 1

TestAddSQLNullInt64KeyFunction · 0.95

Calls 1

Int64KeyMethod · 0.95

Tested by 1

TestAddSQLNullInt64KeyFunction · 0.76