(node ast.Node)
| 624 | } |
| 625 | |
| 626 | func nodeStmtLoc(node ast.Node) ast.Loc { |
| 627 | switch n := node.(type) { |
| 628 | case *ast.UpdateStmt: |
| 629 | return n.Loc |
| 630 | case *ast.DeleteStmt: |
| 631 | return n.Loc |
| 632 | } |
| 633 | return ast.Loc{} |
| 634 | } |
| 635 | |
| 636 | func classifyColumns(ctx context.Context, getDatabaseMetadataFunc base.GetDatabaseMetadataFunc, listDatabaseNamesFunc base.ListDatabaseNamesFunc, isCaseSensitive bool, instanceID string, table *TableReference) ([]string, []string, error) { |
| 637 | if getDatabaseMetadataFunc == nil { |
no outgoing calls
no test coverage detected