MCPcopy Create free account
hub / github.com/araddon/qlbridge / ColumnsToPb

Function ColumnsToPb

rel/sql.go:2018–2024  ·  view source on GitHub ↗
(c Columns)

Source from the content-addressed store, hash-verified

2016 return cols
2017}
2018func ColumnsToPb(c Columns) []*ColumnPb {
2019 cols := make([]*ColumnPb, len(c))
2020 for i, col := range c {
2021 cols[i] = col.ToPB()
2022 }
2023 return cols
2024}
2025
2026func optionalByte(b []byte) byte {
2027 var out byte

Callers 1

sqlSelectToPbDepthFunction · 0.85

Calls 1

ToPBMethod · 0.45

Tested by

no test coverage detected