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

Method SQLNullInt64Key

encode_sqlnull.go:171–173  ·  view source on GitHub ↗

SQLNullInt64Key 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

169
170// SQLNullInt64Key adds a string to be encoded, must be used inside an object as it will encode a key
171func (enc *Encoder) SQLNullInt64Key(key string, v *sql.NullInt64) {
172 enc.Int64Key(key, v.Int64)
173}
174
175// SQLNullInt64KeyOmitEmpty adds a string to be encoded or skips it if it is zero value.
176// 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