MCPcopy Create free account
hub / github.com/cloudquery/cloudquery / transformRecord

Function transformRecord

plugins/destination/sqlite/client/transformer.go:49–60  ·  view source on GitHub ↗
(record arrow.RecordBatch)

Source from the content-addressed store, hash-verified

47}
48
49func transformRecord(record arrow.RecordBatch) [][]any {
50 var res [][]any
51 for i := int64(0); i < record.NumRows(); i++ {
52 var row []any
53 for j := 0; int64(j) < record.NumCols(); j++ {
54 v := getValue(record.Column(j), int(i))
55 row = append(row, v)
56 }
57 res = append(res, row)
58 }
59 return res
60}

Callers 1

insertMessageMethod · 0.70

Calls 1

getValueFunction · 0.70

Tested by

no test coverage detected