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

Method StringSlice

utils/reader.go:343–350  ·  view source on GitHub ↗

StringSlice reads a string slice.

()

Source from the content-addressed store, hash-verified

341
342// StringSlice reads a string slice.
343func (reader *Reader) StringSlice() []string {
344 count := reader.VariableUint()
345 vals := make([]string, count)
346 for i := uint64(0); i < count; i++ {
347 vals[i] = reader.String()
348 }
349 return vals
350}
351
352// StringMap reads a map of strings, keyed by strings.
353func (reader *Reader) StringMap() map[string]string {

Callers 5

TestWriterReaderFunction · 0.95
DeserializeTriggerFunction · 0.95
DeserializeFunctionFunction · 0.95
DeserializeProcedureFunction · 0.95
DeserializeTrackersFunction · 0.95

Calls 2

VariableUintMethod · 0.95
StringMethod · 0.95

Tested by 1

TestWriterReaderFunction · 0.76