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

Method SQLNullFloat64Key

encode_sqlnull.go:269–271  ·  view source on GitHub ↗

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

(key string, v *sql.NullFloat64)

Source from the content-addressed store, hash-verified

267
268// SQLNullFloat64Key adds a string to be encoded, must be used inside an object as it will encode a key
269func (enc *Encoder) SQLNullFloat64Key(key string, v *sql.NullFloat64) {
270 enc.Float64Key(key, v.Float64)
271}
272
273// SQLNullFloat64KeyOmitEmpty adds a string to be encoded or skips it if it is zero value.
274// Must be used inside an object as it will encode a key

Callers 1

TestAddSQLNullFloat64KeyFunction · 0.95

Calls 1

Float64KeyMethod · 0.95

Tested by 1

TestAddSQLNullFloat64KeyFunction · 0.76