MCPcopy
hub / github.com/github/gh-ost / ToColumnValues

Function ToColumnValues

go/sql/types.go:329–339  ·  view source on GitHub ↗
(abstractValues []interface{})

Source from the content-addressed store, hash-verified

327}
328
329func ToColumnValues(abstractValues []interface{}) *ColumnValues {
330 result := &ColumnValues{
331 abstractValues: abstractValues,
332 ValuesPointers: make([]interface{}, len(abstractValues)),
333 }
334 for i := 0; i < len(abstractValues); i++ {
335 result.ValuesPointers[i] = &result.abstractValues[i]
336 }
337
338 return result
339}
340
341func (cv *ColumnValues) AbstractValues() []interface{} {
342 return cv.abstractValues

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…