MCPcopy
hub / github.com/micro/go-micro / columnList

Function columnList

model/sqlite/sqlite.go:326–332  ·  view source on GitHub ↗
(schema *model.Schema)

Source from the content-addressed store, hash-verified

324}
325
326func columnList(schema *model.Schema) string {
327 var cols []string
328 for _, f := range schema.Fields {
329 cols = append(cols, fmt.Sprintf("%q", f.Column))
330 }
331 return strings.Join(cols, ", ")
332}
333
334func scanRow(schema *model.Schema, row *sql.Row) (map[string]any, error) {
335 ptrs := make([]any, len(schema.Fields))

Callers 2

ReadMethod · 0.70
ListMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…