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

Function MapIntFromPb

rel/sql.go:2003–2009  ·  view source on GitHub ↗
(kv []KvInt)

Source from the content-addressed store, hash-verified

2001 return nil
2002}
2003func MapIntFromPb(kv []KvInt) map[string]int {
2004 m := make(map[string]int, len(kv))
2005 for _, kv := range kv {
2006 m[kv.K] = int(kv.V)
2007 }
2008 return m
2009}
2010
2011func ColumnsFromPb(c []*ColumnPb) Columns {
2012 cols := make(Columns, len(c))

Callers 1

SqlSourceFromPbFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected