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

Method IdTypeSlice

utils/reader.go:374–381  ·  view source on GitHub ↗

IdTypeSlice reads a slice of internal type IDs.

()

Source from the content-addressed store, hash-verified

372
373// IdTypeSlice reads a slice of internal type IDs.
374func (reader *Reader) IdTypeSlice() []id.Type {
375 count := reader.VariableUint()
376 vals := make([]id.Type, count)
377 for i := uint64(0); i < count; i++ {
378 vals[i] = id.Type(reader.Id())
379 }
380 return vals
381}
382
383// IsEmpty returns true when all of the data has been read.
384func (reader *Reader) IsEmpty() bool {

Callers 2

DeserializeFunctionFunction · 0.95
DeserializeProcedureFunction · 0.95

Calls 3

VariableUintMethod · 0.95
IdMethod · 0.95
TypeTypeAlias · 0.92

Tested by

no test coverage detected