MCPcopy Create free account
hub / github.com/dolthub/doltgresql / StringMap

Method StringMap

utils/reader.go:353–361  ·  view source on GitHub ↗

StringMap reads a map of strings, keyed by strings.

()

Source from the content-addressed store, hash-verified

351
352// StringMap reads a map of strings, keyed by strings.
353func (reader *Reader) StringMap() map[string]string {
354 count := reader.VariableUint()
355 vals := make(map[string]string, count)
356 for i := uint64(0); i < count; i++ {
357 key := reader.String()
358 vals[key] = reader.String()
359 }
360 return vals
361}
362
363// IdSlice reads a slice of internal IDs.
364func (reader *Reader) IdSlice() []id.Id {

Callers 3

DeserializeTriggerFunction · 0.95
DeserializeFunctionFunction · 0.95
DeserializeProcedureFunction · 0.95

Calls 2

VariableUintMethod · 0.95
StringMethod · 0.95

Tested by

no test coverage detected