Build Column Name to Position index for given *source* (from) used to interpret positional []driver.Value args, mutate the *from* itself to hold this map
(colSchema schema.ConnColumns, p *Source)
| 160 | // Build Column Name to Position index for given *source* (from) used to interpret |
| 161 | // positional []driver.Value args, mutate the *from* itself to hold this map |
| 162 | func buildColIndex(colSchema schema.ConnColumns, p *Source) error { |
| 163 | if p.Stmt.Source == nil { |
| 164 | u.Errorf("Could not build Column-Index bc no source %#v", p) |
| 165 | return nil |
| 166 | } |
| 167 | return p.Stmt.BuildColIndex(colSchema.Columns()) |
| 168 | } |
| 169 | |
| 170 | // WalkSourceSelect is a single source select |
| 171 | func (m *PlannerDefault) WalkSourceSelect(p *Source) error { |
no test coverage detected