(schema *model.Schema)
| 324 | } |
| 325 | |
| 326 | func 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 | |
| 334 | func scanRow(schema *model.Schema, row *sql.Row) (map[string]any, error) { |
| 335 | ptrs := make([]any, len(schema.Fields)) |