MCPcopy Create free account
hub / github.com/Restream/reindexer / putIntValue

Method putIntValue

query.go:535–541  ·  view source on GitHub ↗
(v int)

Source from the content-addressed store, hash-verified

533}
534
535func (q *Query) putIntValue(v int) {
536 if strconv.IntSize == 64 {
537 q.ser.PutVarCUInt(valueInt64).PutVarInt(int64(v))
538 } else {
539 q.ser.PutVarCUInt(valueInt).PutVarInt(int64(v))
540 }
541}
542
543func (q *Query) putBoolValue(v bool) {
544 q.ser.PutVarCUInt(valueBool)

Callers 2

WhereMethod · 0.95
SetMethod · 0.95

Calls 2

PutVarCUIntMethod · 0.80
PutVarIntMethod · 0.45

Tested by

no test coverage detected