(source, fromSource string, searchStart int, stmtLoc ast.Loc, where ast.ExprNode, option *ast.List)
| 331 | } |
| 332 | |
| 333 | func buildDMLFromClause(source, fromSource string, searchStart int, stmtLoc ast.Loc, where ast.ExprNode, option *ast.List) string { |
| 334 | if fromSource == "" { |
| 335 | return "" |
| 336 | } |
| 337 | tail := dmlTrailingClause(source, searchStart, stmtLoc, where, option) |
| 338 | if tail == "" { |
| 339 | return "FROM " + fromSource |
| 340 | } |
| 341 | return "FROM " + fromSource + " " + tail |
| 342 | } |
| 343 | |
| 344 | func dmlTrailingClause(source string, searchStart int, stmtLoc ast.Loc, where ast.ExprNode, option *ast.List) string { |
| 345 | end := trimDMLStatementEnd(source, stmtLoc.End) |
no test coverage detected