(tables []ast.TableReference)
| 954 | } |
| 955 | |
| 956 | func (f *SQLFormatter) formatTableReferences(tables []ast.TableReference) { |
| 957 | for i, table := range tables { |
| 958 | table := table // G601: Create local copy to avoid memory aliasing |
| 959 | if i > 0 { |
| 960 | f.builder.WriteString(", ") |
| 961 | } |
| 962 | f.formatTableReference(&table) |
| 963 | } |
| 964 | } |
| 965 | |
| 966 | func (f *SQLFormatter) formatTableReference(table *ast.TableReference) { |
| 967 | // Output LATERAL keyword if set |
no test coverage detected